rcu/nocb: Comment the reason behind BH disablement on batch processing
authorFrederic Weisbecker <frederic@kernel.org>
Thu, 28 Jan 2021 17:12:08 +0000 (18:12 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 8 Mar 2021 22:20:20 +0000 (14:20 -0800)
commit5de2e5bb80aeef82f75fff76120874cdc86f935d
treebaac323b6e80f3a46e4ef1a694f1b598eed07610
parent3820b513a2e33d6dee1caa3b4815f92079cb9890
rcu/nocb: Comment the reason behind BH disablement on batch processing

This commit explains why softirqs need to be disabled while invoking
callbacks, even when callback processing has been offloaded.  After
all, invoking callbacks concurrently is one thing, but concurrently
invoking the same callback is quite another.

Reported-by: Boqun Feng <boqun.feng@gmail.com>
Reported-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Neeraj Upadhyay <neeraju@codeaurora.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_plugin.h