]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Don't bother affinitying rcub kthreads away from offline CPUs
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 10 Nov 2014 16:07:08 +0000 (08:07 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Jan 2015 19:02:50 +0000 (11:02 -0800)
commite27292e99537007c8d9aefd8edf74d1c905d201b
tree57764b5b8758710b2f788fbadc798b89d716ea03
parent1c879c180a7f6bd06460b74981f34a9cf57f0c8f
rcu: Don't bother affinitying rcub kthreads away from offline CPUs

When rcu_boost_kthread_setaffinity() sees that all CPUs for a given
rcu_node structure are now offline, it affinities the corresponding
RCU-boost ("rcub") kthread away from those CPUs.  This is pointless
because the kthread cannot run on those offline CPUs in any case.
This commit therefore removes this unneeded code.

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