diff options
author | Oleg Nesterov <[email protected]> | 2015-11-15 20:33:29 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-11-23 09:48:19 +0100 |
commit | dd2e3121e3cb16d03a6e3f2db48f260f046f39c2 (patch) | |
tree | d184d7819e46df31dd7088c564e10d6ce213ccf3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6fa3b826bcb3309157166e6e523a4be236fe267a (diff) |
stop_machine: Shift the 'done != NULL' check from cpu_stop_signal_done() to callers
Change cpu_stop_queue_work() and cpu_stopper_thread() to check done != NULL
before cpu_stop_signal_done(done). This makes the code more clean imo, note
that cpu_stopper_thread() has to do this check anyway.
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions