1294156078
Add kprobe_insn_mutex for protecting kprobe_insn_pages hlist, and remove kprobe_mutex from architecture dependent code. This allows us to call arch_remove_kprobe() (and free_insn_slot) while holding kprobe_mutex. Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com> Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> Cc: Russell King <rmk@arm.linux.org.uk> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
vdso32 | ||
vdso64 | ||
asm-offsets.c | ||
audit.c | ||
audit.h | ||
base.S | ||
bitmap.S | ||
compat_audit.c | ||
compat_exec_domain.c | ||
compat_linux.c | ||
compat_linux.h | ||
compat_ptrace.h | ||
compat_signal.c | ||
compat_wrapper.S | ||
cpcmd.c | ||
crash.c | ||
debug.c | ||
diag.c | ||
dis.c | ||
early.c | ||
ebcdic.c | ||
entry64.S | ||
entry.h | ||
entry.S | ||
head31.S | ||
head64.S | ||
head.S | ||
init_task.c | ||
ipl.c | ||
irq.c | ||
kprobes.c | ||
machine_kexec.c | ||
Makefile | ||
mcount.S | ||
mem_detect.c | ||
module.c | ||
process.c | ||
processor.c | ||
ptrace.c | ||
reipl64.S | ||
reipl.S | ||
relocate_kernel64.S | ||
relocate_kernel.S | ||
s390_ext.c | ||
s390_ksyms.c | ||
setup.c | ||
signal.c | ||
smp.c | ||
stacktrace.c | ||
sys_s390.c | ||
syscalls.S | ||
time.c | ||
topology.c | ||
traps.c | ||
vdso.c | ||
vmlinux.lds.S | ||
vtime.c |