From: Joel Fernandes <joelagnelf@nvidia.com>
To: linux-kernel@vger.kernel.org
Cc: "Paul E . McKenney" <paulmck@kernel.org>,
Boqun Feng <boqun.feng@gmail.com>,
rcu@vger.kernel.org, Frederic Weisbecker <frederic@kernel.org>,
Neeraj Upadhyay <neeraj.upadhyay@kernel.org>,
Josh Triplett <josh@joshtriplett.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>,
Joel Fernandes <joelagnelf@nvidia.com>
Subject: [PATCH 0/3] rcu/nocb: RCU nocb bypass-list cleanup patches
Date: Sat, 3 Jan 2026 17:11:14 -0500 [thread overview]
Message-ID: <20260103221117.521087-1-joelagnelf@nvidia.com> (raw)
The RCU nocb logic is complex, with duplicate code patterns scattered
across multiple functions. This series is a small refactor to make the
bypass-list code easier to follow. In the future, I am planning to do more
refactors of this code.
This series is based on top of the earlier -next series I had sent:
https://lore.kernel.org/all/20260101163417.1065705-1-joelagnelf@nvidia.com/
There is no urgency with this particular series. It is OK for v7.1 as well.
Testing:
I ran rcutorture on this series plus the earlier -next submissions for
16 hours on all RCU NOCB configs (TREE01, TREE05, TREE08). All scenarios
passed.
The git tree with all patches can be found at:
https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git (tag: rcu-nocb-cleanup-v1-20260103)
Joel Fernandes (3):
rcu/nocb: Extract nocb_defer_wakeup_cancel() helper
rcu/nocb: Consolidate rcu_nocb_cpu_offload/deoffload functions
rcu/nocb: Extract nocb_bypass_needs_flush() to reduce duplication
kernel/rcu/tree_nocb.h | 143 +++++++++++++++++++++++++----------------
1 file changed, 86 insertions(+), 57 deletions(-)
base-commit: a02abdb7c34af5364e6243276b8ba1dc50972ffe
--
2.34.1
next reply other threads:[~2026-01-03 22:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-03 22:11 Joel Fernandes [this message]
2026-01-03 22:11 ` [PATCH 1/3] rcu/nocb: Extract nocb_defer_wakeup_cancel() helper Joel Fernandes
2026-01-03 22:11 ` [PATCH 2/3] rcu/nocb: Consolidate rcu_nocb_cpu_offload/deoffload functions Joel Fernandes
2026-01-03 22:11 ` [PATCH 3/3] rcu/nocb: Extract nocb_bypass_needs_flush() to reduce duplication 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=20260103221117.521087-1-joelagnelf@nvidia.com \
--to=joelagnelf@nvidia.com \
--cc=boqun.feng@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®