]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rcutorture: Test rcu_tasks_trace_expedite_current()
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Dec 2025 19:11:04 +0000 (11:11 -0800)
committerBoqun Feng <boqun.feng@gmail.com>
Thu, 1 Jan 2026 08:39:46 +0000 (16:39 +0800)
This commit adds a ->exp_current member to the tasks_tracing_ops structure
to test the rcu_tasks_trace_expedite_current() function.

[ paulmck: Apply kernel test robot feedback. ]

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: bpf@vger.kernel.org
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
kernel/rcu/rcutorture.c

index 78a6ebe77d35d39596eb82a40dfc3cdb21cb3af8..d00b043823aef402850b484ac1e1be4be3289ccf 100644 (file)
@@ -1178,6 +1178,7 @@ static struct rcu_torture_ops tasks_tracing_ops = {
        .deferred_free  = rcu_tasks_tracing_torture_deferred_free,
        .sync           = synchronize_rcu_tasks_trace,
        .exp_sync       = synchronize_rcu_tasks_trace,
+       .exp_current    = rcu_tasks_trace_expedite_current,
        .call           = call_rcu_tasks_trace,
        .cb_barrier     = rcu_barrier_tasks_trace,
        .cbflood_max    = 50000,