Re: [PATCH, -tip] Make hierarchical RCU be the default
From: Ingo Molnar
Date: Sat Dec 27 2008 - 05:36:16 EST
* Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> wrote:
> --- a/include/linux/hardirq.h
> +++ b/include/linux/hardirq.h
> @@ -118,7 +118,7 @@ static inline void account_system_vtime(struct task_struct *tsk)
> }
> #endif
>
> -#if defined(CONFIG_NO_HZ) && !defined(CONFIG_CLASSIC_RCU)
> +#if defined(CONFIG_NO_HZ) && !defined(CONFIG_FLAT_RCU)
this can be done in an even lazier fashion, via a ~5 lines patch.
Just add FLAT_RCU as the new kconfig method, and make CONFIG_CLASSIC_RCU
mirror it via something like:
config CLASSIC_RCU
bool
default FLAT_RCU
that makes your patch only affect the Kconfig file - and makes it easily
revertable, etc.
Ingo
--
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/