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)
commit5d0b024973027556b48a09bb36b55dc853ec7c6e
tree57764b5b8758710b2f788fbadc798b89d716ea03
parent1be0085b515e786e962b9f2d03616209eb6eb9a7
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