Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753372AbbF2U66 (ORCPT ); Mon, 29 Jun 2015 16:58:58 -0400 Received: from mail-oi0-f51.google.com ([209.85.218.51]:35873 "EHLO mail-oi0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750975AbbF2U6w (ORCPT ); Mon, 29 Jun 2015 16:58:52 -0400 MIME-Version: 1.0 In-Reply-To: <20150629205528.GQ3717@linux.vnet.ibm.com> References: <20150512223034.GA1396@linux.vnet.ibm.com> <1431469854-3826-1-git-send-email-paulmck@linux.vnet.ibm.com> <1431469854-3826-24-git-send-email-paulmck@linux.vnet.ibm.com> <20150629205528.GQ3717@linux.vnet.ibm.com> Date: Mon, 29 Jun 2015 22:58:51 +0200 X-Google-Sender-Auth: p14n32Isgyc5CLPgxQ27P9dxDSM Message-ID: Subject: Re: [PATCH tip/core/rcu 24/24] rcu: Conditionally compile RCU's eqs warnings From: Geert Uytterhoeven To: Paul McKenney Cc: "linux-kernel@vger.kernel.org" , Ingo Molnar , laijs@cn.fujitsu.com, dipankar@in.ibm.com, Andrew Morton , Mathieu Desnoyers , Josh Triplett , Thomas Gleixner , Peter Zijlstra , Steven Rostedt , David Howells , Eric Dumazet , Darren Hart , =?UTF-8?B?RnLDqWTDqXJpYyBXZWlzYmVja2Vy?= , Oleg Nesterov , pranith kumar Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1574 Lines: 42 Hi Paul, On Mon, Jun 29, 2015 at 10:55 PM, Paul E. McKenney wrote: > On Mon, Jun 29, 2015 at 11:39:13AM +0200, Geert Uytterhoeven wrote: >> On Wed, May 13, 2015 at 12:30 AM, Paul E. McKenney >> wrote: >> > --- a/lib/Kconfig.debug >> > +++ b/lib/Kconfig.debug >> > @@ -1373,6 +1373,17 @@ config RCU_TRACE >> > Say Y here if you want to enable RCU tracing >> > Say N if you are unsure. >> > >> > +config RCU_EQS_DEBUG >> > + bool "Use this when adding any sort of NO_HZ support to your arch" >> >> This sounds a bit fuzzy. Can you please provide a better one-line description? >> Thanks! > > So the point of this Kconfig option is to provide WARN_ON()s that catch > bug such as telling RCU that a given CPU entered idle, but failing to > tell RCU when that CPU later leaves idle. So how about this? > > + bool "Provide debugging asserts for adding NO_HZ support to an arch" Much better, thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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/