mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] rcu/nocb: RCU nocb bypass-list cleanup patches
@ 2026-01-03 22:11 Joel Fernandes
  2026-01-03 22:11 ` [PATCH 1/3] rcu/nocb: Extract nocb_defer_wakeup_cancel() helper Joel Fernandes
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Joel Fernandes @ 2026-01-03 22:11 UTC (permalink / raw)
  To: linux-kernel
  Cc: Paul E . McKenney, Boqun Feng, rcu, Frederic Weisbecker,
	Neeraj Upadhyay, Josh Triplett, Uladzislau Rezki, Steven Rostedt,
	Mathieu Desnoyers, Lai Jiangshan, Zqiang, Joel Fernandes

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-03 22:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-03 22:11 [PATCH 0/3] rcu/nocb: RCU nocb bypass-list cleanup patches Joel Fernandes
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

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®