diff options
| author | Masami Hiramatsu <[email protected]> | 2013-07-18 20:47:50 +0900 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-07-19 09:57:04 +0200 |
| commit | a7b0133ea94e4421a81702d5c0e6dcdbbbab8f6b (patch) | |
| tree | cdffdd36bd256d81c65a083d50a9a2e9be050a6f /tools/perf/scripts/python/futex-contention.py | |
| parent | c7e85c42be68fca743df58a306edd29aa295e155 (diff) | |
kprobes/x86: Use text_poke_bp() instead of text_poke_smp*()
Use text_poke_bp() for optimizing kprobes instead of
text_poke_smp*(). Since the number of kprobes is usually not so
large (<100) and text_poke_bp() is much lighter than
text_poke_smp() [which uses stop_machine()], this just stops
using batch processing.
Signed-off-by: Masami Hiramatsu <[email protected]>
Reviewed-by: Jiri Kosina <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Jason Baron <[email protected]>
Cc: [email protected]
Cc: Borislav Petkov <[email protected]>
Link: http://lkml.kernel.org/r/20130718114750.26675.9174.stgit@mhiramat-M0-7522
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions