[PATCH -tip 0/3] kprobes,x86: Move optprobe on top of int3-based instruction patching

From: Masami Hiramatsu
Date: Thu Jul 18 2013 - 07:50:36 EST


Hi,

Here is a series of kprobes and x86 patches for moving
optprobe (jump optimized kprobe) onto the int3-based
instruction patching (a.k.a. text_poke_bp, introduced by
Jiri Kosina).

Since this completely moves text_poke_smp* user to new
text_poke_bp, I also remove the old text_poke_smp* code
from alternative.c. As a side effect, it also fixes a
Kconfig warning about CONFIG_STOP_MACHINE dependency
confliction.

Thank you,

---

Masami Hiramatsu (3):
[CLEANUP] kprobes/x86: Remove an incorrect comment about int3 in NMI/MCE
kprobes/x86: Use text_poke_bp() instead of text_poke_smp*()
x86: Remove unused text_poke_smp and text_poke_smp_batch


arch/x86/Kconfig | 5 --
arch/x86/include/asm/alternative.h | 11 ----
arch/x86/kernel/alternative.c | 98 +-------------------------------
arch/x86/kernel/kprobes/common.h | 5 --
arch/x86/kernel/kprobes/core.c | 2 -
arch/x86/kernel/kprobes/opt.c | 110 +++++++-----------------------------
6 files changed, 25 insertions(+), 206 deletions(-)

--
Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>
IT Management Research Dept. and Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/