[lkml]   [2014]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -tip v8 02/26] kprobes/x86: Allow to handle reentered kprobe on singlestepping
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
> reentered as same as the kprobes hit in kprobe handlers
> 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 <>
> Cc: Thomas Gleixner <>
> Cc: Ingo Molnar <>
> Cc: "H. Peter Anvin" <>

Reviewed-by: Steven Rostedt <>

-- Steve

 \ /
  Last update: 2014-03-21 23:01    [W:0.316 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site