aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <[email protected]>2011-10-31 17:11:15 -0700
committerLinus Torvalds <[email protected]>2011-10-31 17:30:53 -0700
commitf445027e4e692bd885118460b292d08027fd5501 (patch)
treee7791443970d45ffede0f23018676d508a1f1149 /tools/perf/scripts/python/check-perf-trace.py
parentaaaa287b89a09f22573dc57fcbb6a7dc7d25c8ed (diff)
stop_machine: make stop_machine safe and efficient to call early
Make stop_machine() safe to call early in boot, before SMP 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. ] Cc: Tejun Heo <[email protected]> Acked-by: Rusty Russell <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Steven Rostedt <[email protected]> Acked-by: Tejun Heo <[email protected]> Cc: Konrad Rzeszutek Wilk <[email protected]> Signed-off-by: Jeremy Fitzhardinge <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions