Re: [PATCH tip/core/rcu 24/24] rcu: Conditionally compile RCU's eqs warnings

From: Paul E. McKenney
Date: Wed May 13 2015 - 16:58:53 EST


On Wed, May 13, 2015 at 09:46:48AM -0400, Steven Rostedt wrote:
> On Tue, 12 May 2015 15:30:54 -0700
> "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> 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"
> > + depends on DEBUG_KERNEL
>
> Should we add "depends on NO_HZ" ?

No, because RCU now uses the EQS code even for NO_HZ_PERIODIC to detect
idle time.

Thanx, Paul

> -- Steve
>
> > + help
> > + This option provides consistency checks in RCU's handling of
> > + NO_HZ. These checks have proven quite helpful in detecting
> > + bugs in arch-specific NO_HZ code.
> > +
> > + Say N here if you need ultimate kernel/user switch latencies
> > + Say Y if you are unsure
> > +
> > endmenu # "RCU Debugging"
> >
> > config DEBUG_BLOCK_EXT_DEVT
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/