sched/rt: Keep period timer ticking when rt throttling is active
authorPeter Zijlstra <peterz@infradead.org>
Tue, 18 Oct 2011 20:03:48 +0000 (22:03 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 1 Mar 2012 09:28:01 +0000 (10:28 +0100)
commit42c62a589f1ccbf38a02cb732231f9c2fccc5ab0
tree80ba018cd3b581668f9c8dc75d52f9c2a9ee9f54
parent7e4d960993331e92567f0180e45322a93e6780ba
sched/rt: Keep period timer ticking when rt throttling is active

When a runqueue is throttled we cannot disable the period timer
because that timer is the only way to undo the throttling.

We got stale throttling entries when a rq was throttled and then the
global sysctl was disabled, which stopped the timer.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
[ Added changelog ]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/n/tip-nuj34q52p6ro7szapuz84i0v@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched/rt.c