commit | 65cc8e4859ff29a9ddc989c88557d6059834c2a2 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Thu Mar 25 21:05:16 2010 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Apr 02 20:12:04 2010 +0200 |
tree | 7f12c2532a92d607b5c52fa71c1799631a7a91ff | |
parent | 0017d735092844118bef006696a750a0e4ef6ebd [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>