]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kref: Add context-analysis annotations
authorMarco Elver <elver@google.com>
Fri, 19 Dec 2025 15:40:05 +0000 (16:40 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jan 2026 15:43:31 +0000 (16:43 +0100)
commit5e256db9325e75e9f000ddd64e4f1dbd2a6d8acd
treecd07e90d6b060c6f6d6892d09c298e226a42e1fc
parentf0b7ce22d71810c8c11abcd912fbd6f57c2e9677
kref: Add context-analysis annotations

Mark functions that conditionally acquire the passed lock.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20251219154418.3592607-17-elver@google.com
include/linux/kref.h