Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-05-02 20:55:06 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-05-02 21:03:50 +0200
commit4b40e94233914642735b0a366cee9d0634224430 (patch)
treea09ef39e6df1b313c264b3d0cd9293ca9ae6038f
parentdc15be1db7a1fd62b4662727f5a07d92213123aa (diff)
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 <tglx@linutronix.de>
-rw-r--r--kernel/sched_rt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index 6a0029a18259..0e4b15d2a08c 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -580,6 +580,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;