Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753933AbbFPPny (ORCPT ); Tue, 16 Jun 2015 11:43:54 -0400 Received: from smtprelay0162.hostedemail.com ([216.40.44.162]:56740 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756804AbbFPPnp (ORCPT ); Tue, 16 Jun 2015 11:43:45 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::,RULES_HIT:41:355:379:541:599:800:960:966:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1568:1593:1594:1711:1714:1730:1747:1777:1792:2196:2199:2393:2553:2559:2562:3138:3139:3140:3141:3142:3622:3865:3867:3868:3870:3871:3873:3874:4385:5007:6261:7875:8957:9038:10004:10400:10848:10967:11026:11232:11658:11914:12517:12519:12740:13069:13161:13229:13311:13357:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: suit71_3dba6b8a99101 X-Filterd-Recvd-Size: 1655 Date: Tue, 16 Jun 2015 11:43:42 -0400 From: Steven Rostedt To: "Paul E. McKenney" Cc: Daniel Wagner , Alexei Starovoitov , Daniel Wagner , LKML Subject: Re: call_rcu from trace_preempt Message-ID: <20150616114342.340b8c06@gandalf.local.home> In-Reply-To: <20150616141626.GI3913@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> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 723 Lines: 19 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 ;-) -- Steve -- 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/