aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <[email protected]>2011-09-30 09:10:54 -0700
committerJeremy Fitzhardinge <[email protected]>2011-10-25 11:54:04 -0700
commit189c3fd68c7016e37c1ffd7a00009e2c944a9d06 (patch)
treef4df4e497ba41eefd3c5a74761de90567e8a8727 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentd5d9a3b12adf339b851c8e595d2ca71c3d211363 (diff)
stop_machine: make stop_machine safe and efficient to call early
Make stop_machine() safe to call early in boot, before stop_machine() has been set up, by simply calling the callback function directly if there's only one CPU online. [ Fixes from AKPM: - add comment - local_irq_flags, not save_flags - also call hard_irq_disable() for systems which need it Tejun suggested using an explicit flag rather than just looking at the online cpu count. ] Signed-off-by: Jeremy Fitzhardinge <[email protected]> Acked-by: Tejun Heo <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Rusty Russell <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Andrew Morton <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions