sched/rt: Do not throttle when PI boosting
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:02 +0000 (10:28 +0100)
commit7abc63b1bd412f7655b62ef3e35c3c11c5134636
treec2a18d2b57d71d124ddb280d396df94b7110448f
parent42c62a589f1ccbf38a02cb732231f9c2fccc5ab0
sched/rt: Do not throttle when PI boosting

When a runqueue has rt_runtime_us = 0 then the only way it can
accumulate rt_time is via PI boosting. That causes the runqueue
to be throttled and replenishing does not change anything due to
rt_runtime_us = 0. So avoid that situation by clearing rt_time and
skip the throttling alltogether.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
[ Changelog ]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/n/tip-7x70cypsotjb4jvcor3edctk@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched/rt.c