linux-stable-rt/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 [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
arm [PATCH] turn "const static" into "static const" 2006-01-10 08:01:55 -08:00
arm26 [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
cris [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
frv Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2006-01-10 08:21:33 -08:00
h8300 [PATCH] h8300: remove MAGIC_ROM_PTR from memory.c 2006-01-10 09:31:26 -08:00
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 [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
m68k [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
m68knommu [PATCH] m68knommu: fix ram length of m5208evb board 2006-01-10 09:31:27 -08:00
mips Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2006-01-10 09:00:55 -08:00
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 [PATCH] don't include ioctl32.h in drivers 2006-01-10 08:01:34 -08:00
sh [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
sh64 [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
sparc [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
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 [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
x86_64 [PATCH] kprobes: fix race in recovery of reentrant probe 2006-01-11 18:42:12 -08:00
xtensa [PATCH] "tiny-make-id16-support-optional" fixes 2006-01-10 08:01:23 -08:00