summaryrefslogtreecommitdiff
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-03-25 21:05:16 +0100
committerIngo Molnar <mingo@elte.hu>2010-04-02 20:12:04 +0200
commit65cc8e4859ff29a9ddc989c88557d6059834c2a2 (patch)
tree7f12c2532a92d607b5c52fa71c1799631a7a91ff /kernel/sched_fair.c
parent0017d735092844118bef006696a750a0e4ef6ebd (diff)
sched: Optimize task_rq_lock()
Now that we hold the rq->lock over set_task_cpu() again, we can do away with most of the TASK_WAKING checks and reduce them again to set_cpus_allowed_ptr(). Removes some conditionals from scheduling hot-paths. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Oleg Nesterov <oleg@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
0 files changed, 0 insertions, 0 deletions