]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rcu: No interrupt disabling for rcu_prepare_for_idle()
authorPaul E. McKenney <paul.mckenney@linaro.org>
Tue, 24 Jan 2012 01:23:35 +0000 (17:23 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 21 Feb 2012 17:06:05 +0000 (09:06 -0800)
commitc0cfbbb0d4fca14b828a7635a59784adfba8989d
treea6201565b275d63b17df2a256e9b30c91f94cb6d
parent3d3b7db0a22085cfc05c3318b9874f7fb8266d18
rcu: No interrupt disabling for rcu_prepare_for_idle()

The rcu_prepare_for_idle() function is always called with interrupts
disabled, so there is no reason to disable interrupts again within
rcu_prepare_for_idle().  Therefore, this commit removes all of the
interrupt disabling, also removing a latent disabling-unbalance bug.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree_plugin.h