kernel-ark/arch/powerpc
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
..
boot [PATCH] powerpc: Fix clean_files in arch/powerpc/boot Makefile 2006-01-11 16:28:13 +11:00
configs [PATCH] enable the RTC driver in ppc64_defconfig 2006-01-11 14:47:13 +11:00
kernel [PATCH] kprobes: fix race in recovery of reentrant probe 2006-01-11 18:42:12 -08:00
lib
mm
oprofile
platforms [PATCH] powerpc: Remove redundant setting of htab_address 2006-01-11 15:35:46 +11:00
sysdev [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support 2006-01-11 15:35:29 +11:00
xmon
Kconfig [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support 2006-01-11 15:35:29 +11:00
Kconfig.debug [PATCH] powerpc: Make early debugging configurable via Kconfig 2006-01-11 14:48:26 +11:00
Makefile Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2006-01-10 08:21:33 -08:00