diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2013-02-11 10:23:27 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-03-26 08:04:43 -0700 |
commit | 911af505ef407c2511106c224dd640f882f0f590 (patch) | |
tree | 00656ef4be8d1195a568951333dd9618265c6435 /lib/percpu_counter.c | |
parent | 34ed62461ae4970695974afb9a60ac3df0086830 (diff) | |
download | blackbird-op-linux-911af505ef407c2511106c224dd640f882f0f590.tar.gz blackbird-op-linux-911af505ef407c2511106c224dd640f882f0f590.zip |
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>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions