]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
refscale: Exercise DEFINE_STATIC_SRCU_FAST() and init_srcu_struct_fast()
authorPaul E. McKenney <paulmck@kernel.org>
Sun, 2 Nov 2025 22:49:41 +0000 (14:49 -0800)
committerFrederic Weisbecker <frederic@kernel.org>
Thu, 27 Nov 2025 13:22:41 +0000 (14:22 +0100)
commit81f00c462e2746037153b442f521b5d611de2fce
tree24014ae3023b1b7a729df88825de722a1aefbf4b
parent609460a6db2016d9098b4bf50b3871302f5cc6ef
refscale: Exercise DEFINE_STATIC_SRCU_FAST() and init_srcu_struct_fast()

This commit updates the initialization for the "srcu-fast" scale
type to use DEFINE_STATIC_SRCU_FAST() when reader_flavor is equal to
SRCU_READ_FLAVOR_FAST.

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>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
kernel/rcu/refscale.c