summaryrefslogtreecommitdiff
path: root/kernel/rcu/rcu.h
diff options
context:
space:
mode:
authorZqiang <qiang1.zhang@intel.com>2022-12-21 11:15:43 -0800
committerPaul E. McKenney <paulmck@kernel.org>2023-01-12 11:30:11 -0800
commitccfe1fef9409ca80ffad6ce822a6d15eaee67c91 (patch)
treeb4ea49b0278f500790cbedc0c58f113c1bab4627 /kernel/rcu/rcu.h
parent92987fe8bdd1cbec61919a394bb11316c5d860f4 (diff)
rcu: Remove redundant call to rcu_boost_kthread_setaffinity()
The rcu_boost_kthread_setaffinity() function is invoked at rcutree_online_cpu() and rcutree_offline_cpu() time, early in the online timeline and late in the offline timeline, respectively. It is also invoked from rcutree_dead_cpu(), however, in the absence of userspace manipulations (for which userspace must take responsibility), this call is redundant with that from rcutree_offline_cpu(). This redundancy can be demonstrated by printing out the relevant cpumasks This commit therefore removes the call to rcu_boost_kthread_setaffinity() from rcutree_dead_cpu(). Signed-off-by: Zqiang <qiang1.zhang@intel.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'kernel/rcu/rcu.h')
0 files changed, 0 insertions, 0 deletions