rcu: Remove redundant BH disabling in TINY_RCU
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 2 Mar 2024 01:16:53 +0000 (17:16 -0800)
committerUladzislau Rezki (Sony) <urezki@gmail.com>
Mon, 15 Apr 2024 09:29:48 +0000 (11:29 +0200)
commit3dbd8652f87b81fccb766bddb985ef46a1502f04
tree39761df718bbb30e346e1dfaf2e1b1aacde294d3
parent1b4e9fdf9ed489c779259734e0b47f408c7786f2
rcu: Remove redundant BH disabling in TINY_RCU

The TINY_RCU rcu_process_callbacks() function is only ever invoked from
a softirq handler, which means that BH is already disabled.  This commit
therefore removes the redundant local_bh_disable() and local_bh_ennable()
from this function.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
kernel/rcu/tiny.c