]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rcutorture: Exercise DEFINE_STATIC_SRCU_FAST() and init_srcu_struct_fast()
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 5 Nov 2025 20:32:06 +0000 (12:32 -0800)
committerFrederic Weisbecker <frederic@kernel.org>
Wed, 5 Nov 2025 22:58:24 +0000 (23:58 +0100)
commite4ed20c1603c9e2846de31034cb4d50b3ef59ec8
treed25688e72e57b1fd308c46f0d874fd1c2a7c0017
parentc5fee33f884c6e29e9c351a3a8f080d8178544d0
rcutorture: Exercise DEFINE_STATIC_SRCU_FAST() and init_srcu_struct_fast()

This commit updates the initialization for the "srcu" and "srcud" torture
types to use DEFINE_STATIC_SRCU_FAST() and init_srcu_struct_fast(),
respectively, 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/rcutorture.c