diff options
author | ckolivas <kernel@kolivas.org> | 2016-10-10 18:25:34 +1100 |
---|---|---|
committer | ckolivas <kernel@kolivas.org> | 2016-10-10 18:27:30 +1100 |
commit | b1068cefce0ccc695df37f46f3321a8c7120c582 (patch) | |
tree | ac666babafa58fdda635763ae55b23c2c024c6d0 | |
parent | 31a3fa87f4f02158bfb57b93ef0b69bf1c1ef9c5 (diff) |
Drop task waking which is not meaningfully used.
-rw-r--r-- | kernel/sched/MuQSS.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sched/MuQSS.c b/kernel/sched/MuQSS.c index 416924bc025c..4b7e54f9436c 100644 --- a/kernel/sched/MuQSS.c +++ b/kernel/sched/MuQSS.c @@ -1854,7 +1854,6 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) smp_cond_load_acquire(&p->on_cpu, !VAL); p->sched_contributes_to_load = !!task_contributes_to_load(p); - p->state = TASK_WAKING; cpu = select_best_cpu(p); if (task_cpu(p) != cpu) @@ -5722,7 +5721,7 @@ static int __set_cpus_allowed_ptr(struct task_struct *p, if (cpumask_test_cpu(task_cpu(p), new_mask)) goto out; - if (task_running(rq, p) || p->state == TASK_WAKING) { + if (task_running(rq, p)) { /* Task is running on the wrong cpu now, reschedule it. */ if (rq == this_rq()) { set_tsk_need_resched(p); |