perf fixes
Linus,
Please pull the latest perf-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus
# HEAD: b7e37567d080301d38a302bb93ba79d1ca446dca kprobes/x86: Mark 2 bytes NOP as boostable
This tree contains two uprobes fixes, an uprobes comment update and a kprobes fix.
Thanks,
Ingo
------------------>
Denys Vlasenko (3):
uprobes/x86: Add comment with insn opcodes, mnemonics and why we dont support them uprobes/x86: Fix 1-byte opcode tables
uprobes/x86: Fix 2-byte opcode table
Wang Nan (1):
kprobes/x86: Mark 2 bytes NOP as boostable
arch/x86/kernel/kprobes/core.c | 2 +- arch/x86/kernel/uprobes.c | 153 +++++++++++++++++++++++++++++------------ 2 files changed, 111 insertions(+), 44 deletions(-)
arch/x86/kernel/kprobes/core.c +1 -1
@@ -84,7 +84,7 @@ static volatile u32 twobyte_is_boostable[256 / 32] = {/* 0 1 2 3 4 5 6 7 8 9 a b c d e f */ /* ---------------------------------------------- */ W (0x00 ,0 ,0 ,1 ,1 ,0 ,0 ,1 ,0 ,1 ,1 ,0 ,0 ,0 ,0 ,0 ,0 ) |/* 00 */ -W (0x10 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ) ,/* 10 */ +W (0x10 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,1 ) ,/* 10 */ W (0x20 ,1 ,1 ,1 ,1 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ) |/* 20 */ W (0x30 ,0 ,1 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ) ,/* 30 */ W(0x40, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1) | /* 40 */
arch/x86/kernel/uprobes.c +110 -43
213 lines not on this page · raw message