From: Thomas Gleixner Date: Wed, 5 Oct 2011 11:32:34 +0000 (+0200) Subject: sched: Warn on rt throttling X-Git-Tag: upstream/snapshot3+hdmi~8921^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c83437e80186832a9a48dbb6b8868d28e40e562;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git sched: Warn on rt throttling The default rt-throttling is a source of never ending questions. Warn once when we go into throttling so folks have that info in dmesg. Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/alpine.LFD.2.02.1110051331480.18778@ionos Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index 3023fd1..056cbd2 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c @@ -655,6 +655,7 @@ static int sched_rt_runtime_exceeded(struct rt_rq *rt_rq) if (rt_rq->rt_time > runtime) { rt_rq->rt_throttled = 1; + printk_once(KERN_WARNING "sched: RT throttling activated\n"); if (rt_rq_throttled(rt_rq)) { sched_rt_rq_dequeue(rt_rq); return 1;