kernel-ark/arch
Keshavamurthy Anil S eb3a72921c [PATCH] kprobes: fix race in recovery of reentrant probe
There is a window where a probe gets removed right after the probe is hit
on some different cpu.  In this case probe handlers can't find a matching
probe instance related to break address.  In this case we need to read the
original instruction at break address to see if that is not a break/int3
instruction and recover safely.

Previous code had a bug where we were not checking for the above race in
case of reentrant probes and the below patch fixes this race.

Tested on IA64, Powerpc, x86_64.

Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-11 18:42:12 -08:00
..
alpha
arm
arm26
cris
frv
h8300
i386 [PATCH] kprobes: fix race in recovery of reentrant probe 2006-01-11 18:42:12 -08:00
ia64 [PATCH] kprobes: fix race in recovery of reentrant probe 2006-01-11 18:42:12 -08:00
m32r
m68k
m68knommu [PATCH] m68knommu: fix ram length of m5208evb board 2006-01-10 09:31:27 -08:00
mips
parisc [PARISC] Use STABS_DEBUG macro from vmlinux.lds.h 2006-01-10 21:53:19 -05:00
powerpc [PATCH] kprobes: fix race in recovery of reentrant probe 2006-01-11 18:42:12 -08:00
ppc [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support 2006-01-11 15:35:29 +11:00
s390
sh
sh64
sparc
sparc64 [PATCH] kprobes: fix race in recovery of reentrant probe 2006-01-11 18:42:12 -08:00
um [PATCH] uml: kill an unused variable 2006-01-11 18:42:10 -08:00
v850
x86_64 [PATCH] kprobes: fix race in recovery of reentrant probe 2006-01-11 18:42:12 -08:00
xtensa