Re: [RFC PATCH 4/6] Preempt-RCU: Implementation

From: Roman Zippel
Date: Sat Mar 01 2008 - 22:10:01 EST


Hi,

On Sat, 1 Mar 2008, Steven Rostedt wrote:

> > config CLASSIC_RCU
> > - bool "Classic RCU"
> > + def_bool !PREEMPT_RCU
> > help
> > This option selects the classic RCU implementation that is
> > designed for best read-side performance on non-realtime
> > - systems.
>
> Actually Paul, you don't need to make this an "option". Simply the default
> if PREEMPT_RCU is not selected. In otherwords, no prompt.
>
> config CLASSIC_RCU
> bool
> depends on !PREEMPT_RCU
> default y

There is no prompt. :)
"def_bool !PREEMPT_RCU" does the same as this.

bye, Roman
--
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/