]> git.ipfire.org Git - thirdparty/linux.git/commit
srcu: Create an rcu_tasks_trace_expedite_current() function
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Dec 2025 19:11:03 +0000 (11:11 -0800)
committerBoqun Feng <boqun.feng@gmail.com>
Thu, 1 Jan 2026 08:39:46 +0000 (16:39 +0800)
commita525ccd4d3e91ff123960e44a8892fb76c8217ea
tree86fa63e4b98971b6f06ef9ee96f0e694ada02cb4
parente55c2e287174280ddef47ad58e83567a88ece39d
srcu: Create an rcu_tasks_trace_expedite_current() function

This commit creates an rcu_tasks_trace_expedite_current() function
that expedites the current (and possibly the next) RCU Tasks Trace
grace period.

If the current RCU Tasks Trace grace period is already waiting, that wait
will complete before the expediting takes effect.  If there is no RCU
Tasks Trace  grace period in flight, this function might well create one.

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>
include/linux/rcupdate_trace.h