]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Don't offload callbacks unless specifically requested
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 2 Jul 2014 17:13:24 +0000 (10:13 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 7 Jul 2014 22:13:44 +0000 (15:13 -0700)
commit1720600deee638230575bd2000be24b88332041c
treeda592215d7ebbd15cdb0773770cd45ed91c538d2
parent85bfda9d377d79f7240410f3db7e27837fc4d93b
rcu: Don't offload callbacks unless specifically requested

Enabling NO_HZ_FULL currently has the side effect of enabling callback
offloading on all CPUs.  This results in lots of additional rcuo kthreads,
and can also increase context switching and wakeups, even in cases where
callback offloading is neither needed nor particularly desirable.  This
commit therefore enables callback offloading on a given CPU only if
specifically requested at build time or boot time, or if that CPU has
been specifically designated (again, either at build time or boot time)
as a nohz_full CPU.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
init/Kconfig
kernel/rcu/tree_plugin.h