]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rcu: Don't do reschedule unless in irq
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 16 May 2011 09:52:04 +0000 (02:52 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 26 May 2011 16:42:21 +0000 (09:42 -0700)
commitb5904090c754327ed6c2ecaefed4f7d473df393f
tree46cf53f98413171d92de3b5e11c9327309f240b7
parent1135633bddcf7a819a1490c18d04965c490bcc1e
rcu: Don't do reschedule unless in irq

Condition the set_need_resched() in rcu_irq_exit() on in_irq().  This
should be a no-op, because rcu_irq_exit() should only be called from irq.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c