rcu: add support for dynamic ticks and preempt rcu
commit2232c2d8e0a6a31061dec311f3d1cf7624bc14f1
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 29 Feb 2008 17:46:50 +0000 (29 18:46 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 Feb 2008 17:46:50 +0000 (29 18:46 +0100)
tree1d90ec0b8bd4e3c154e386f005ef596ee25fa53f
parentc0f4133b8f70769bc8dda977feb9a29109d6ccca
rcu: add support for dynamic ticks and preempt rcu

The PREEMPT-RCU can get stuck if a CPU goes idle and NO_HZ is set. The
idle CPU will not progress the RCU through its grace period and a
synchronize_rcu my get stuck. Without this patch I have a box that will
not boot when PREEMPT_RCU and NO_HZ are set. That same box boots fine
with this patch.

This patch comes from the -rt kernel where it has been tested for
several months.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/hardirq.h
include/linux/rcuclassic.h
include/linux/rcupreempt.h
kernel/rcupreempt.c
kernel/softirq.c
kernel/time/tick-sched.c