1
linux/arch/ia64/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
..
cpufreq
acpi-ext.c
acpi.c
asm-offsets.c
brl_emu.c
cyclone.c
efi_stub.S
efi.c [PATCH] /dev/mem: validate mmap requests 2006-01-08 20:14:02 -08:00
entry.h
entry.S [PATCH] Swap Migration V5: sys_migrate_pages interface 2006-01-08 20:12:42 -08:00
fsys.S
gate-data.S
gate.lds.S
gate.S
head.S [PATCH] remove gcc-2 checks 2006-01-08 20:14:02 -08:00
ia64_ksyms.c [PATCH] remove gcc-2 checks 2006-01-08 20:14:02 -08:00
init_task.c
iosapic.c
irq_ia64.c
irq_lsapic.c
irq.c
ivt.S [IA64] polish comments for tlb fault handler in ivt.S 2005-11-17 09:48:15 -08:00
jprobes.S
kprobes.c [PATCH] kprobes: fix race in recovery of reentrant probe 2006-01-11 18:42:12 -08:00
machvec.c
Makefile
mca_asm.S
mca_drv_asm.S
mca_drv.c Pull mca-check-psp into release branch 2005-11-10 10:38:05 -08:00
mca_drv.h
mca.c [IA64] Extend notify_die() hooks for IA64 2005-11-07 11:27:13 -08:00
minstate.h
module.c
numa.c
pal.S
palinfo.c
patch.c
perfmon_default_smpl.c
perfmon_generic.h
perfmon_itanium.h
perfmon_mckinley.h
perfmon.c [PATCH] kfree cleanup: arch 2005-11-07 07:54:06 -08:00
process.c [IA64] fix for SET_PERSONALITY when CONFIG_IA32_SUPPORT is not set. 2005-12-14 08:52:57 -08:00
ptrace.c [PATCH] use ptrace_get_task_struct in various places 2006-01-08 20:13:51 -08:00
sal.c
salinfo.c [IA64] Allow salinfo_decode to detect signals on read 2005-12-05 11:49:17 -08:00
semaphore.c
setup.c [IA64] Fix compile warnings in setup.c 2006-01-05 13:30:52 -08:00
sigframe.h
signal.c [IA64] align signal-frame even when not using alternate signal-stack 2005-11-08 09:58:06 -08:00
smp.c
smpboot.c [PATCH] sched: disable preempt in idle tasks 2005-11-09 07:56:33 -08:00
sys_ia64.c
time.c [IA64] disable preemption in udelay() 2005-12-16 10:00:24 -08:00
topology.c
traps.c [IA64] Remove getting break_num by decoding instruction 2005-11-29 09:24:39 -08:00
unaligned.c
uncached.c [IA64] uncached ref count leak 2005-12-16 10:29:52 -08:00
unwind_decoder.c
unwind_i.h
unwind.c
vmlinux.lds.S [IA64] Add __read_mostly support for IA64 2005-12-16 10:52:46 -08:00