Re: [PATCH v2 2/2] powerpc: kprobes: invoke handlers directly

2016-11-23 Thread Masami Hiramatsu
On Tue, 22 Nov 2016 16:23:13 +0530 "Naveen N. Rao" wrote: > On 2016/11/22 09:43PM, Michael Ellerman wrote: > > "Naveen N. Rao" writes: > > > On 2016/11/22 02:25PM, Masami Hiramatsu wrote: > > >> On Mon, 21 Nov 2016 22:36:41 +0530 > > >> "Naveen N. Rao" wrote: > > >> > diff --git a/arch/powerpc/

Re: [PATCH v2 2/2] powerpc: kprobes: invoke handlers directly

2016-11-22 Thread Naveen N. Rao
On 2016/11/22 09:43PM, Michael Ellerman wrote: > "Naveen N. Rao" writes: > > On 2016/11/22 02:25PM, Masami Hiramatsu wrote: > >> On Mon, 21 Nov 2016 22:36:41 +0530 > >> "Naveen N. Rao" wrote: > >> > diff --git a/arch/powerpc/include/asm/kprobes.h > >> > b/arch/powerpc/include/asm/kprobes.h > >>

Re: [PATCH v2 2/2] powerpc: kprobes: invoke handlers directly

2016-11-22 Thread Michael Ellerman
"Naveen N. Rao" writes: > On 2016/11/22 02:25PM, Masami Hiramatsu wrote: >> On Mon, 21 Nov 2016 22:36:41 +0530 >> "Naveen N. Rao" wrote: >> > diff --git a/arch/powerpc/include/asm/kprobes.h >> > b/arch/powerpc/include/asm/kprobes.h >> > index 2c9759bd..da30dc3 100644 >> > --- a/arch/powerpc/incl

Re: [PATCH v2 2/2] powerpc: kprobes: invoke handlers directly

2016-11-21 Thread Naveen N. Rao
On 2016/11/22 02:25PM, Masami Hiramatsu wrote: > Hello Naveen, Hi Masami, > > On Mon, 21 Nov 2016 22:36:41 +0530 > "Naveen N. Rao" wrote: > > > ... rather than through notify_die(), to reduce path taken for handling > > kprobes. Similar to commit 6f6343f53d13 ("kprobes/x86: Call exception > >

Re: [PATCH v2 2/2] powerpc: kprobes: invoke handlers directly

2016-11-21 Thread Masami Hiramatsu
Hello Naveen, On Mon, 21 Nov 2016 22:36:41 +0530 "Naveen N. Rao" wrote: > ... rather than through notify_die(), to reduce path taken for handling > kprobes. Similar to commit 6f6343f53d13 ("kprobes/x86: Call exception > handlers directly from do_int3/do_debug"). > > While at it, rename post_kpr

[PATCH v2 2/2] powerpc: kprobes: invoke handlers directly

2016-11-21 Thread Naveen N. Rao
... rather than through notify_die(), to reduce path taken for handling kprobes. Similar to commit 6f6343f53d13 ("kprobes/x86: Call exception handlers directly from do_int3/do_debug"). While at it, rename post_kprobe_handler() to kprobe_post_handler() for more uniform naming. Reported-by: Masami