summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorKeshavamurthy Anil S <anil.s.keshavamurthy@intel.com>2006-01-11 21:17:42 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 03:42:12 +0100
commiteb3a72921c8276bf2cd028a458bb83435f16c91c (patch)
tree634eff43e1926bdb400d038eb08115193b6a7506 /block
parent[PATCH] kprobes: fix unloading of self probed module (diff)
downloadlinux-eb3a72921c8276bf2cd028a458bb83435f16c91c.tar.xz
linux-eb3a72921c8276bf2cd028a458bb83435f16c91c.zip
[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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions