]> git.baikalelectronics.ru Git - kernel.git/commit
locking, kprobes: Annotate the hash locks and kretprobe.lock as raw
authorThomas Gleixner <tglx@linutronix.de>
Sat, 25 Jul 2009 14:09:17 +0000 (16:09 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 13 Sep 2011 09:11:45 +0000 (11:11 +0200)
commit6a0983cb17996f27c2613cf8359a7c015d22eb49
tree1e62f1ac1e79241d092bef4c7b9f051c9cf9b014
parente2c0602b87b215ff19af1582143d7fc1603d5f90
locking, kprobes: Annotate the hash locks and kretprobe.lock as raw

The kprobe locks can be taken in atomic context and therefore
cannot be preempted on -rt - annotate it.

In mainline this change documents the low level nature of
the lock - otherwise there's no functional difference. Lockdep
and Sparse checking will work as usual.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/kprobes.h
kernel/kprobes.c