diff options
author | 2011-08-05 22:39:02 -0700 | |
---|---|---|
committer | 2011-09-28 21:38:31 -0700 | |
commit | 717f98f0f87c16c1e5768ac8f67c27f3d3535a25 (patch) | |
tree | 4d2234eb29a350a3a5b1d7e4d29445c57b66f9f2 /include/linux/rcupdate.h | |
parent | nohz: Remove nohz_cpu_mask (diff) | |
download | wireguard-linux-717f98f0f87c16c1e5768ac8f67c27f3d3535a25.tar.xz wireguard-linux-717f98f0f87c16c1e5768ac8f67c27f3d3535a25.zip |
rcu: Eliminate in_irq() checks in rcu_enter_nohz()
The in_irq() check in rcu_enter_nohz() is redundant because if we really
are in an interrupt, the attempt to re-enter dyntick-idle mode will invoke
rcu_needs_cpu() in any case, which will force the check for RCU callbacks.
So this commit removes the check along with the set_need_resched().
Suggested-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rcupdate.h')
0 files changed, 0 insertions, 0 deletions