Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754029AbbFPRNR (ORCPT ); Tue, 16 Jun 2015 13:13:17 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:37457 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754735AbbFPRNH (ORCPT ); Tue, 16 Jun 2015 13:13:07 -0400 Message-ID: <5580591E.50008@monom.org> Date: Tue, 16 Jun 2015 19:13:02 +0200 From: Daniel Wagner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: paulmck@linux.vnet.ibm.com, Steven Rostedt CC: Alexei Starovoitov , Daniel Wagner , LKML Subject: Re: call_rcu from trace_preempt 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> <20150616160716.GM3913@linux.vnet.ibm.com> In-Reply-To: <20150616160716.GM3913@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 992 Lines: 24 On 06/16/2015 06:07 PM, Paul E. McKenney wrote: > 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. ;-) Yes, this was just playing around :) -- 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/