rcu: Provide compile-time control for no-CBs CPUs
authorPaul E. McKenney <paul.mckenney@linaro.org>
Mon, 11 Feb 2013 18:23:27 +0000 (10:23 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 26 Mar 2013 15:04:43 +0000 (08:04 -0700)
commit911af505ef407c2511106c224dd640f882f0f590
tree00656ef4be8d1195a568951333dd9618265c6435
parent34ed62461ae4970695974afb9a60ac3df0086830
rcu: Provide compile-time control for no-CBs CPUs

Currently, the only way to specify no-CBs CPUs is via the rcu_nocbs
kernel command-line parameter.  This is inconvenient in some cases,
particularly for randconfig testing, so this commit adds a new set of
kernel configuration parameters.  CONFIG_RCU_NOCB_CPU_NONE (the default)
retains the old behavior, CONFIG_RCU_NOCB_CPU_ZERO offloads callback
processing from CPU 0 (along with any other CPUs specified by the
rcu_nocbs boot-time parameter), and CONFIG_RCU_NOCB_CPU_ALL offloads
callback processing from all CPUs.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
init/Kconfig
kernel/rcutree_plugin.h