diff options
author | Peter Zijlstra <[email protected]> | 2011-04-05 17:23:53 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-04-14 08:52:39 +0200 |
commit | 8f42ced974df7d5af2de4cf5ea21fe978c7e4478 (patch) | |
tree | 514ee978491dc62ee727308be1f228987c47eb54 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | ab2515c4b98f7bc4fa11cad9fa0f811d63a72a26 (diff) |
sched: Drop rq->lock from sched_exec()
Since we can now call select_task_rq() and set_task_cpu() with only
p->pi_lock held, and sched_exec() load-balancing has always been
optimistic, drop all rq->lock usage.
Oleg also noted that need_migrate_task() will always be true for
current, so don't bother calling that at all.
Reviewed-by: Frank Rowand <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions