diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-03-25 21:05:16 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-04-02 20:12:04 +0200 |
commit | 65cc8e4859ff29a9ddc989c88557d6059834c2a2 (patch) | |
tree | 7f12c2532a92d607b5c52fa71c1799631a7a91ff /kernel/hung_task.c | |
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>
Diffstat (limited to 'kernel/hung_task.c')
0 files changed, 0 insertions, 0 deletions