diff options
author | Peter Zijlstra <[email protected]> | 2011-04-05 17:23:59 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-04-14 08:52:41 +0200 |
commit | bd8e7dded88a3e1c085c333f19ff31387616f71a (patch) | |
tree | 3dc947138fd33416b53411244de5d6c9dc08a5fa /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 317f394160e9beb97d19a84c39b7e5eb3d7815a8 (diff) |
sched: Remove need_migrate_task()
Oleg noticed that need_migrate_task() doesn't need the ->on_cpu check
now that ttwu() doesn't do remote enqueues for !->on_rq && ->on_cpu,
so remove the helper and replace the single instance with a direct
->on_rq test.
Suggested-by: Oleg Nesterov <[email protected]>
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