From: Masami Hiramatsu Date: Thu, 18 Jul 2013 11:47:50 +0000 (+0900) Subject: kprobes/x86: Use text_poke_bp() instead of text_poke_smp*() X-Git-Tag: v3.12-rc1~168^3~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7b0133ea94e4421a81702d5c0e6dcdbbbab8f6b;p=pandora-kernel.git 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 Reviewed-by: Jiri Kosina Cc: H. Peter Anvin Cc: Steven Rostedt Cc: Jason Baron Cc: yrl.pp-manager.tt@hitachi.com Cc: Borislav Petkov Link: http://lkml.kernel.org/r/20130718114750.26675.9174.stgit@mhiramat-M0-7522 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed