rcu: Check for successful spawn of ->boost_kthread_task
authorZqiang <qiang1.zhang@intel.com>
Thu, 24 Mar 2022 11:15:15 +0000 (19:15 +0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 20 Apr 2022 23:51:11 +0000 (16:51 -0700)
commit88ca472f80604c070526eb58b977ea0a9c3c2e1f
treec72cd8a73d898aa1b7b7773ba6ab62ecbd18e674
parent70ae7b0ce03347fab35d6d8df81e1165d7ea8045
rcu: Check for successful spawn of ->boost_kthread_task

For the spawning of the priority-boost kthreads can fail, improbable
though this might seem.  This commit therefore refrains from attemoting
to initiate RCU priority boosting when The ->boost_kthread_task pointer
is NULL.

Signed-off-by: Zqiang <qiang1.zhang@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_plugin.h