diff options
author | 2010-03-25 21:05:16 +0100 | |
---|---|---|
committer | 2010-04-02 20:12:04 +0200 | |
commit | 65cc8e4859ff29a9ddc989c88557d6059834c2a2 (patch) | |
tree | 7f12c2532a92d607b5c52fa71c1799631a7a91ff /net/ipv4/tcp_timer.c | |
parent | sched: Fix TASK_WAKING vs fork deadlock (diff) | |
download | linux-dev-65cc8e4859ff29a9ddc989c88557d6059834c2a2.tar.xz linux-dev-65cc8e4859ff29a9ddc989c88557d6059834c2a2.zip |
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 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions