aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2014-08-04 03:10:16 +0000
committerIngo Molnar <[email protected]>2014-08-08 08:38:04 +0000
commitf96f56780ca584930bb3a2769d73fd9a101bcbbe (patch)
treec3974ec34ef0e249e25819248d84b8ec2c80325c /lib/assoc_array.c
parentMerge branch 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-f96f56780ca584930bb3a2769d73fd9a101bcbbe.tar.gz
kernel-f96f56780ca584930bb3a2769d73fd9a101bcbbe.zip
kprobes: Skip kretprobe hit in NMI context to avoid deadlock
Skip kretprobe hit in NMI context, because if an NMI happens inside the critical section protected by kretprobe_table.lock and another(or same) kretprobe hit, pre_kretprobe_handler tries to lock kretprobe_table.lock again. Normal interrupts have no problem because they are disabled with the lock. Signed-off-by: Masami Hiramatsu <[email protected]> Acked-by: Ananth N Mavinakayanahalli <[email protected]> Cc: David S. Miller <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Minor edits for clarity. ] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions