]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitec484608c5885931c432e99ecfd2772288cd993c
tree1e62f1ac1e79241d092bef4c7b9f051c9cf9b014
parent76bf6877fed4f59826a72e0ab209badfc594008a
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