]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rcu: prevent call_rcu() from diving into rcu core if irqs disabled
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 8 Apr 2011 05:47:23 +0000 (22:47 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 6 May 2011 06:16:59 +0000 (23:16 -0700)
commit2655d57ef35aa327a2e58a1c5dc7b65c65003f4e
tree4a71e82b23ee84705cad15cd16490f8c5aace74f
parentbaa1ae0c9f1c618bc60706efa75fef3508bcee58
rcu: prevent call_rcu() from diving into rcu core if irqs disabled

This commit marks a first step towards making call_rcu() have
real-time behavior.  If irqs are disabled, don't dive into the
RCU core.  Later on, this new early exit will wake up the
per-CPU kthread, which first must be modified to handle the
cases involving callback storms.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutree.c