diff options
author | Kirill Tkhai <ktkhai@parallels.com> | 2014-03-06 13:31:55 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-03-11 12:05:37 +0100 |
commit | e4aa358b6c23f98b2715594f6b1e9a4996a55f04 (patch) | |
tree | 6e3de5eaeccde610cf01ec06994b587084104a8b /kernel/sched/idle_task.c | |
parent | 734ff2a71f9e6aa6fedfa5a9a34818b8586516d5 (diff) | |
download | op-kernel-dev-e4aa358b6c23f98b2715594f6b1e9a4996a55f04.zip op-kernel-dev-e4aa358b6c23f98b2715594f6b1e9a4996a55f04.tar.gz |
sched/fair: Push down check for high priority class task into idle_balance()
We close idle_exit_fair() bracket in case of we've pulled something or we've received
task of high priority class.
Signed-off-by: Kirill Tkhai <ktkhai@parallels.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Link: http://lkml.kernel.org/r/1394098315.19290.10.camel@tkhai
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/idle_task.c')
-rw-r--r-- | kernel/sched/idle_task.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched/idle_task.c b/kernel/sched/idle_task.c index 1f37258..879f2b7 100644 --- a/kernel/sched/idle_task.c +++ b/kernel/sched/idle_task.c @@ -29,7 +29,6 @@ pick_next_task_idle(struct rq *rq, struct task_struct *prev) put_prev_task(rq, prev); schedstat_inc(rq, sched_goidle); - idle_enter_fair(rq); return rq->idle; } |