summaryrefslogtreecommitdiffstats
path: root/kernel/smp.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-08-03 17:48:12 +0200
committerPaul E. McKenney <paulmck@kernel.org>2022-08-31 14:03:14 +0200
commit089254fd386eb6800dd7d7863f12a04ada0c35fa (patch)
tree7d21add72209e4df4a23f45d7dcdc827c2c7b92b /kernel/smp.c
parentrcu: Make tiny RCU support leak callbacks for debug-object errors (diff)
downloadlinux-089254fd386eb6800dd7d7863f12a04ada0c35fa.tar.xz
linux-089254fd386eb6800dd7d7863f12a04ada0c35fa.zip
rcu: Document reason for rcu_all_qs() call to preempt_disable()
Given that rcu_all_qs() is in non-preemptible kernels, why on earth should it invoke preempt_disable()? This commit adds the reason, which is to work nicely with debugging enabled in CONFIG_PREEMPT_COUNT=y kernels. Reported-by: Neeraj Upadhyay <quic_neeraju@quicinc.com> Reported-by: Boqun Feng <boqun.feng@gmail.com> Reported-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions