]> git.karo-electronics.de Git - linux-beck.git/commit
kprobes/x86-64: Allow to reenter probe on post_handler
authorMasami Hiramatsu <mhiramat@redhat.com>
Thu, 27 Aug 2009 17:23:04 +0000 (13:23 -0400)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sun, 30 Aug 2009 01:08:26 +0000 (03:08 +0200)
commitf5ad31158d60946b9fd18c8a79c283a6bc432430
tree6276ab1eff3f88ec318c5f9346a3e37c5002b2d0
parente9afe9e1b3fdbd56cca53959a2519e70db9c8095
kprobes/x86-64: Allow to reenter probe on post_handler

Allow to reenter probe on the post_handler of another probe on x86-64,
because x86-64 already allows reentering int3.
In that case, reentered probe just increases kp.nmissed and returns.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <20090827172304.8246.4822.stgit@localhost.localdomain>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
arch/x86/kernel/kprobes.c