diff options
author | Zqiang <qiang1.zhang@intel.com> | 2022-04-29 15:42:22 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-07-19 21:43:39 +0300 |
commit | 5103850654fdc651f0a7076ac753b958f018bb85 (patch) | |
tree | 89adc36d81d75bd2ce82d4b22b97465bdc914a47 /kernel/rcu/Kconfig | |
parent | b37a667c62421b34e96b05613457b9fb0ed66ea1 (diff) | |
download | linux-5103850654fdc651f0a7076ac753b958f018bb85.tar.xz |
rcu: Add nocb_cb_kthread check to rcu_is_callbacks_kthread()
Callbacks are invoked in RCU kthreads when calbacks are offloaded
(rcu_nocbs boot parameter) or when RCU's softirq handler has been
offloaded to rcuc kthreads (use_softirq==0). The current code allows
for the rcu_nocbs case but not the use_softirq case. This commit adds
support for the use_softirq case.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Zqiang <qiang1.zhang@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Diffstat (limited to 'kernel/rcu/Kconfig')
0 files changed, 0 insertions, 0 deletions