Re: [PATCH -tip v8 02/26] kprobes/x86: Allow to handle reentered kprobe on singlestepping

2014-03-24 Thread Masami Hiramatsu
(2014/03/22 6:44), Steven Rostedt wrote: > On Wed, 05 Mar 2014 20:58:57 +0900 > Masami Hiramatsu wrote: > >> Since the NMI handlers(e.g. perf) can interrupt in the >> single stepping (or preparing the single stepping, do_debug >> etc.), we should consider a kprobe is hit in the NMI >> handler. Ev

Re: [PATCH -tip v8 02/26] kprobes/x86: Allow to handle reentered kprobe on singlestepping

2014-03-21 Thread Steven Rostedt
On Wed, 05 Mar 2014 20:58:57 +0900 Masami Hiramatsu wrote: > Since the NMI handlers(e.g. perf) can interrupt in the > single stepping (or preparing the single stepping, do_debug > etc.), we should consider a kprobe is hit in the NMI > handler. Even in that case, the kprobe is allowed to be > reen

[PATCH -tip v8 02/26] kprobes/x86: Allow to handle reentered kprobe on singlestepping

2014-03-05 Thread Masami Hiramatsu
Since the NMI handlers(e.g. perf) can interrupt in the single stepping (or preparing the single stepping, do_debug etc.), we should consider a kprobe is hit in the NMI handler. Even in that case, the kprobe is allowed to be reentered as same as the kprobes hit in kprobe handlers (KPROBE_HIT_ACTIVE