Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756477AbbFPQHa (ORCPT ); Tue, 16 Jun 2015 12:07:30 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:43758 "EHLO e36.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753147AbbFPQHX (ORCPT ); Tue, 16 Jun 2015 12:07:23 -0400 X-Helo: d03dlp02.boulder.ibm.com X-MailFrom: paulmck@linux.vnet.ibm.com X-RcptTo: linux-kernel@vger.kernel.org Date: Tue, 16 Jun 2015 09:07:16 -0700 From: "Paul E. McKenney" To: Steven Rostedt Cc: Daniel Wagner , Alexei Starovoitov , Daniel Wagner , LKML Subject: Re: call_rcu from trace_preempt Message-ID: <20150616160716.GM3913@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <557F509D.2000509@plumgrid.com> <20150615230702.GB3913@linux.vnet.ibm.com> <557F7764.5060707@plumgrid.com> <20150616021458.GE3913@linux.vnet.ibm.com> <557FB7E1.6080004@plumgrid.com> <20150616122733.GG3913@linux.vnet.ibm.com> <558018DD.1080701@monom.org> <20150616141626.GI3913@linux.vnet.ibm.com> <20150616114342.340b8c06@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150616114342.340b8c06@gandalf.local.home> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15061616-0021-0000-0000-00000BBBAB88 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 918 Lines: 23 On Tue, Jun 16, 2015 at 11:43:42AM -0400, Steven Rostedt wrote: > On Tue, 16 Jun 2015 07:16:26 -0700 > "Paul E. McKenney" wrote: > > > > Just for the record: Using a thread for freeing the memory is curing the > > > problem without the need to modify rcu_is_watching. > > > > I must confess to liking this approach better than guaranteeing full-up > > reentrancy in call_rcu() and kfree_rcu(). ;-) > > Then reentrancy must be really bad if you prefer a spinning thread that > polls constantly just to free an item ;-) I was (perhaps naively) assuming that they would use a less aggressive approach at some point. ;-) Thanx, Paul -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/