Re: [PATCH][RESEND] kprobes: x86: mark 2 bytes NOP as boostable.

2015-02-10 Thread Wang Nan
Hi Andrew, Could you please queue this patch onto your -mm tree? Masami has given an Acked-by already. Thank you! On 2015/2/10 9:34, Wang Nan wrote: > Currently, x86 kprobes is unable to boost 2 bytes nop like: > > nopl 0x0(%rax,%rax,1) > > which is 0x0f 0x1f 0x44 0x00 0x00. > > Such nops ha

[PATCH][RESEND] kprobes: x86: mark 2 bytes NOP as boostable.

2015-02-09 Thread Wang Nan
Currently, x86 kprobes is unable to boost 2 bytes nop like: nopl 0x0(%rax,%rax,1) which is 0x0f 0x1f 0x44 0x00 0x00. Such nops have exactly 5 bytes to hold a relative jmp instruction. Boosting them should be obviously safe. This patch enable boosting such nops by simply updating twobyte_is_boos