linux/arch/sparc64
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
kernel [PATCH] kprobes: fix race in recovery of reentrant probe 2006-01-11 18:42:12 -08:00
lib [SPARC64]: Fix userland FPU state corruption. 2005-10-07 13:30:49 -07:00
math-emu
mm [SPARC64]: Fix >8K I/O mappings. 2005-11-29 13:59:03 -08:00
oprofile [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
prom [SPARC64]: Fix powering off on SMP. 2005-10-14 15:26:08 -07:00
solaris [SPARC]: Kill CHILD_MAX. 2005-12-22 23:10:03 -08:00
defconfig [SPARC64]: Update defconfig. 2006-01-09 14:36:49 -08:00
Kconfig [SPARC64] arch/sparc64/Kconfig: fix HUGETLB_PAGE_SIZE_64K dependencies 2006-01-11 15:55:23 -08:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile [SPARC64]: Stop putting -finline-limit=XXX into CFLAGS 2005-12-20 14:53:05 -08:00