diff options
author | Oleg Nesterov <[email protected]> | 2015-11-15 20:33:20 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-11-23 09:48:18 +0100 |
commit | 958c5f848e17e216df138cc2161b07b7120e2d15 (patch) | |
tree | 7a91e770f30b3cec6baf90b4422e09526e438943 /tools/perf/scripts/python/syscall-counts.py | |
parent | 1b034bd989aa4a396c13d305759c376c52595a97 (diff) |
stop_machine: Change stop_one_cpu() to rely on cpu_stop_queue_work()
Change stop_one_cpu() to return -ENOENT if cpu_stop_queue_work() fails.
Otherwise we know that ->executed must be true after wait_for_completion()
so we can just return done.ret.
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Milos Vyletel <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions