]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
locking/local_lock: Support Clang's context analysis
authorMarco Elver <elver@google.com>
Fri, 19 Dec 2025 15:40:08 +0000 (16:40 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jan 2026 15:43:31 +0000 (16:43 +0100)
commitd3febf16dee28a74b01ba43195ee4965edb6208f
tree2363a4c04c89d9c7a358fce9b4f25b3b961bc5a4
parent8c9c8566e139c0f1398245fbe3aa409fc1a79da8
locking/local_lock: Support Clang's context analysis

Add support for Clang's context analysis for local_lock_t and
local_trylock_t.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251219154418.3592607-20-elver@google.com
Documentation/dev-tools/context-analysis.rst
include/linux/local_lock.h
include/linux/local_lock_internal.h
lib/test_context-analysis.c