[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1423040972.18770.10.camel@tkhai>
Date: Wed, 4 Feb 2015 12:09:32 +0300
From: Kirill Tkhai <ktkhai@...allels.com>
To: <linux-kernel@...r.kernel.org>
CC: Peter Zijlstra <peterz@...radead.org>,
Juri Lelli <juri.lelli@...il.com>,
Ingo Molnar <mingo@...hat.com>, Kirill Tkhai <tkhai@...dex.ru>
Subject: [PATCH] sched/dl: Do update_rq_clock() in yield_task_dl()
update_curr_dl() needs actual rq clock.
Signed-off-by: Kirill Tkhai <ktkhai@...allels.com>
---
kernel/sched/deadline.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index e7b2722..f4dbedd 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -898,6 +898,7 @@ static void yield_task_dl(struct rq *rq)
rq->curr->dl.dl_yielded = 1;
p->dl.runtime = 0;
}
+ update_rq_clock(rq);
update_curr_dl(rq);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists