(2014/03/22 6:44), Steven Rostedt wrote:
> On Wed, 05 Mar 2014 20:58:57 +0900
> Masami Hiramatsu <[email protected]> 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
>> reentered as same as the kprobes hit in kprobe handlers
>> (KPROBE_HIT_ACTIVE or KPROBE_HIT_SSDONE).
>> The real issue will happen when a kprobe hit while another
>> reentered kprobe is processing (KPROBE_REENTER), because
>> we already consumed a saved-area for the previous kprobe.
>>
>> Signed-off-by: Masami Hiramatsu <[email protected]>
>> Cc: Thomas Gleixner <[email protected]>
>> Cc: Ingo Molnar <[email protected]>
>> Cc: "H. Peter Anvin" <[email protected]>
> 
> Reviewed-by: Steven Rostedt <[email protected]>
> 

Thanks! :)


-- 
Masami HIRAMATSU
IT Management Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: [email protected]


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to