]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
srcu: Document __srcu_read_{,un}lock_fast() implicit RCU readers
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 22 Jul 2025 21:25:35 +0000 (14:25 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 15 Sep 2025 12:16:27 +0000 (05:16 -0700)
commitbe975448a45cd024e2b98598eefc0e164ad93f09
tree77d73c05fab65b169646bfbe12db177f933fd0ab
parentcacadb630375b8c30ca4d0300812178bb884c0b0
srcu: Document __srcu_read_{,un}lock_fast() implicit RCU readers

This commit documents the implicit RCU readers that are implied by the
this_cpu_inc() and atomic_long_inc() operations in __srcu_read_lock_fast()
and __srcu_read_unlock_fast().  While in the area, fix the documentation
of the memory pairing of atomic_long_inc() in __srcu_read_lock_fast().

[ paulmck: Apply Joel Fernandes feedback. ]

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: <bpf@vger.kernel.org>
include/linux/srcutree.h