Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
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
..
2005-11-18 14:39:23 +11:00
2005-10-13 13:40:54 +10:00
2006-01-09 14:49:06 +11:00
2006-01-09 14:49:06 +11:00
2006-01-09 14:50:15 +11:00
2005-11-14 17:14:51 +11:00
2006-01-09 14:48:52 +11:00
2006-01-09 15:06:03 +11:00
2006-01-10 00:10:13 +01:00
2005-11-09 11:35:26 +11:00
2006-01-09 14:49:01 +11:00
2006-01-09 15:47:13 +11:00
2005-11-28 14:34:23 -08:00