Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752604AbaB1WF5 (ORCPT ); Fri, 28 Feb 2014 17:05:57 -0500 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.227]:11223 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751729AbaB1WFz (ORCPT ); Fri, 28 Feb 2014 17:05:55 -0500 Date: Fri, 28 Feb 2014 17:05:53 -0500 From: Steven Rostedt To: Peter Zijlstra Cc: "Paul E. McKenney" , Vince Weaver , "H. Peter Anvin" , Linux Kernel , Ingo Molnar Subject: Re: perf_fuzzer compiled for x32 causes reboot Message-ID: <20140228170553.49f77108@gandalf.local.home> In-Reply-To: <20140228215511.GB6835@laptop.programming.kicks-ass.net> References: <530FC1C6.5040209@zytor.com> <20140227183008.6be081b7@gandalf.local.home> <530FCE6C.4080808@zytor.com> <20140228203405.GH11910@linux.vnet.ibm.com> <20140228154716.0198d7cb@gandalf.local.home> <20140228205409.GB14089@laptop.programming.kicks-ass.net> <20140228211733.GK11910@linux.vnet.ibm.com> <20140228212700.GH14089@laptop.programming.kicks-ass.net> <20140228215150.GM11910@linux.vnet.ibm.com> <20140228215511.GB6835@laptop.programming.kicks-ass.net> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Feb 2014 22:55:11 +0100 Peter Zijlstra wrote: > On Fri, Feb 28, 2014 at 01:51:50PM -0800, Paul E. McKenney wrote: > > On Fri, Feb 28, 2014 at 10:27:00PM +0100, Peter Zijlstra wrote: > > > On Fri, Feb 28, 2014 at 01:17:33PM -0800, Paul E. McKenney wrote: > > > > This code isn't running in idle context is it? If so, RCU will happily > > > > free out from under it. CONFIG_PROVE_RCU should detect this sort of thing, > > > > though. > > > > > > Well, interrupts/NMIs can happen when idle, but the interrupt/NMI > > > entry code deals with the idle state AFAIK. > > > > Yep, rcu_irq_enter() and rcu_nmi_enter() deal with that. More worried > > about this being code invoked from some energy-efficiency driver or > > another within the idle loop. > > Right, so any tracepoint can end up there; but I thought there was > already the rule that tracepoints needed RCU enabled. There is and we have special tracepoint caller for those cases we want a tracepoint out of RCU scope. These will reactivate rcu in the tracepoint code. trace__rcuidle(...) -- 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/