From: Joel Fernandes <jfern@kernel.org>
To: linux-kernel@vger.kernel.org,
"Paul E . McKenney" <paulmck@kernel.org>,
Frederic Weisbecker <frederic@kernel.org>,
Neeraj Upadhyay <neeraj.upadhyay@kernel.org>,
Joel Fernandes <jfern@kernel.org>,
Josh Triplett <josh@joshtriplett.org>,
Boqun Feng <boqun@kernel.org>,
Uladzislau Rezki <urezki@gmail.com>,
Steven Rostedt <rostedt@goodmis.org>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
Lai Jiangshan <jiangshanlai@gmail.com>,
Zqiang <qiang.zhang@linux.dev>
Cc: rcu@vger.kernel.org
Subject: [PATCH for-v7.5 2/5] tools/rcu: Add new APIs to rcu-updaters.sh
Date: Thu, 12 Nov 2026 19:50:51 -0500 [thread overview]
Message-ID: <20261113005056.2793983-3-jfern@kernel.org> (raw)
In-Reply-To: <20261113005056.2793983-1-jfern@kernel.org>
From: Zqiang <qiang.zhang@linux.dev>
The following commit introduces some new APIs:
commit 'dab06d6f9379 ("srcutree: Add an atomic Tree SRCU")'
commit '8df13f01608e ("rcu: Add full-sized polling for cond_sync_exp_full()")'
commit 'd96c52fe4907 (rcu: Add polled expedited grace-period primitives)'
synchronize_srcu_atomic(), cond_synchronize_rcu_expedited() and
cond_synchronize_rcu_expedited_full().
Sample output when running rcutorture:
@counts[synchronize_srcu]: 48
@counts[synchronize_rcu_expedited]: 74
@counts[synchronize_rcu]: 102
@counts[poll_state_synchronize_rcu_full]: 443
@counts[call_rcu]: 2498
@counts[synchronize_srcu_atomic]: 8717
@counts[poll_state_synchronize_srcu]: 14849
@counts[call_srcu]: 22
@counts[synchronize_rcu]: 103
@counts[start_poll_synchronize_rcu]: 1093
@counts[cond_synchronize_rcu_expedited]: 5339
@counts[cond_synchronize_rcu_expedited_full]: 5375
@counts[synchronize_rcu_expedited]: 8134
@counts[get_state_synchronize_rcu_full]: 17248
@counts[get_state_synchronize_rcu]: 17266
@counts[call_rcu]: 119168
This commit therefore add thems to rcu-updaters.sh script.
Signed-off-by: Zqiang <qiang.zhang@linux.dev>
Reviewed-by: Joel Fernandes <jfern@kernel.org>
Signed-off-by: Joel Fernandes <jfern@kernel.org>
---
tools/rcu/rcu-updaters.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/rcu/rcu-updaters.sh b/tools/rcu/rcu-updaters.sh
index 8a5df3f22550..a0f03a144f6a 100755
--- a/tools/rcu/rcu-updaters.sh
+++ b/tools/rcu/rcu-updaters.sh
@@ -34,6 +34,7 @@ bpftrace -e 'kprobe:kvfree_call_rcu,
kprobe:synchronize_rcu_tasks_trace,
kprobe:synchronize_srcu,
kprobe:synchronize_srcu_expedited,
+ kprobe:synchronize_srcu_atomic,
kprobe:get_state_synchronize_rcu,
kprobe:get_state_synchronize_rcu_full,
kprobe:start_poll_synchronize_rcu,
@@ -44,6 +45,8 @@ bpftrace -e 'kprobe:kvfree_call_rcu,
kprobe:poll_state_synchronize_rcu_full,
kprobe:cond_synchronize_rcu,
kprobe:cond_synchronize_rcu_full,
+ kprobe:cond_synchronize_rcu_expedited,
+ kprobe:cond_synchronize_rcu_expedited_full,
kprobe:start_poll_synchronize_srcu,
kprobe:poll_state_synchronize_srcu,
kprobe:rcu_gp_init
--
2.54.0
next prev parent reply other threads:[~2026-11-13 0:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 0:50 [PATCH for-v7.5 0/5] RCU docs patches for v7.5 Joel Fernandes
2026-11-13 0:50 ` [PATCH for-v7.5 1/5] doc: Update recent SRCU API additions to whatisRCU.rst Joel Fernandes
2026-11-13 0:50 ` Joel Fernandes [this message]
2026-11-13 0:50 ` [PATCH for-v7.5 3/5] doc: Document atomic SRCU in Design/Requirements/Requirements.rst Joel Fernandes
2026-11-13 0:50 ` [PATCH for-v7.5 4/5] doc: Fix stale RCU_GP_WAIT_FQS value in stallwarn.rst Joel Fernandes
2026-11-13 0:50 ` [PATCH for-v7.5 5/5] doc: Document additional RCU task-stall dump information Joel Fernandes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261113005056.2793983-3-jfern@kernel.org \
--to=jfern@kernel.org \
--cc=boqun@kernel.org \
--cc=frederic@kernel.org \
--cc=jiangshanlai@gmail.com \
--cc=josh@joshtriplett.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=neeraj.upadhyay@kernel.org \
--cc=paulmck@kernel.org \
--cc=qiang.zhang@linux.dev \
--cc=rcu@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=urezki@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.