diff options
author | Kirill Tkhai <[email protected]> | 2014-09-12 15:03:34 +0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-09-19 12:35:21 +0200 |
commit | a15b12ac36ad4e7b856a4ae54937ae26a51aebad (patch) | |
tree | 78a87ec22776757a000e214313b78fabe3b6fbb6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 1ba93d42727c44001aa8ccffd39c8ab5705379e2 (diff) |
sched: Do not stop cpu in set_cpus_allowed_ptr() if task is not running
If a task is queued but not running on it rq, we can simply migrate
it without migration thread and switching of context.
Signed-off-by: Kirill Tkhai <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/1410519814.3569.7.camel@tkhai
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions