linux-stable-rt/arch/sparc64/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
..
Makefile [PATCH] sanitize building of fs/compat_ioctl.c 2006-01-10 08:01:33 -08:00
asm-offsets.c
auxio.c
binfmt_aout32.c [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
binfmt_elf32.c
central.c
chmc.c
cpu.c [SPARC64]: Use ARRAY_SIZE macro 2005-11-09 12:03:42 -08:00
devices.c
dtlb_backend.S
dtlb_base.S
dtlb_prot.S
ebus.c [PATCH] PCI: pci_find_device remove (sparc64/kernel/ebus.c) 2006-01-09 12:13:15 -08:00
entry.S [SPARC64]: Fix ptrace/strace 2006-01-09 14:35:50 -08:00
etrap.S
head.S
idprom.c
init_task.c
iommu_common.c
iommu_common.h
irq.c
isa.c
itlb_base.S
kprobes.c [PATCH] kprobes: fix race in recovery of reentrant probe 2006-01-11 18:42:12 -08:00
ktlb.S
module.c
pci.c
pci_common.c
pci_impl.h
pci_iommu.c
pci_psycho.c
pci_sabre.c
pci_schizo.c
power.c [SPARC64]: Add needed pm_power_off symbol. 2006-01-09 14:12:50 -08:00
process.c [PATCH] sched: resched and cpu_idle rework 2005-11-09 07:56:33 -08:00
ptrace.c [PATCH] use ptrace_get_task_struct in various places 2006-01-08 20:13:51 -08:00
rtrap.S
sbus.c [PATCH] unpaged: fix sound Bad page states 2005-11-22 09:13:43 -08:00
semaphore.c
setup.c [SPARC64]: Restore 2.4.x /proc/cpuinfo behavior for "ncpus probed" field. 2005-11-11 12:48:56 -08:00
signal.c
signal32.c
smp.c [SPARC64]: Restore 2.4.x /proc/cpuinfo behavior for "ncpus probed" field. 2005-11-11 12:48:56 -08:00
sparc64_ksyms.c [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
starfire.c
sunos_ioctl32.c [SPARC]: Kill remaining kbio.h references. 2005-11-07 14:12:21 -08:00
sys32.S
sys_sparc.c
sys_sparc32.c [PATCH] common compat_sys_timer_create 2006-01-10 08:01:32 -08:00
sys_sunos32.c [SPARC]: Kill CHILD_MAX. 2005-12-22 23:10:03 -08:00
systbls.S Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2006-01-10 08:28:53 -08:00
time.c [SPARC64]: Kill off dummy_tick_ops. 2005-11-07 14:10:10 -08:00
trampoline.S
traps.c
ttable.S
una_asm.S
unaligned.c
us2e_cpufreq.c
us3_cpufreq.c
vmlinux.lds.S [SPARC]: Use STABS_DEBUG and DWARF_DEBUG macros in vmlinux.lds.S 2005-12-28 13:22:54 -08:00
winfixup.S