]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rhashtable: Enable context analysis
authorMarco Elver <elver@google.com>
Fri, 19 Dec 2025 15:40:21 +0000 (16:40 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 5 Jan 2026 15:43:35 +0000 (16:43 +0100)
commit322366b8f13a8cafe169dc1dc6f6ec0d82ff8734
treec1405c126de0fbc9f703a3f2c06d740092c76233
parentc3d3023f1cf3de10f2d2f83b0d011fa7cab16cf0
rhashtable: Enable context analysis

Enable context analysis for rhashtable, which was used as an initial
test as it contains a combination of RCU, mutex, and bit_spinlock usage.

Users of rhashtable now also benefit from annotations on the API, which
will now warn if the RCU read lock is not held where required.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251219154418.3592607-33-elver@google.com
include/linux/rhashtable.h
lib/Makefile
lib/rhashtable.c