Re: [PATCH -next v3 0/3] rcu/nocb: Cleanup patches for next merge window
From: Paul E. McKenney
Date: Wed Jan 21 2026 - 15:31:28 EST
On Mon, Jan 19, 2026 at 06:12:20PM -0500, Joel Fernandes wrote:
> These are a few nocb related cleanup patches for the next merge window.
>
> Also Frederic please object to the second patch ("Remove dead callback overload
> handling") if you would like, but I think based on our discussion I have
> implemented your suggestion, so it should be good.
>
> Changes from v2:
> - Dropped patch 2 "Add warning if no rcuog wake up attempt happened during
> overload" as it was not needed since we removed the dead CB overload handling.
> - Replaced "Add warning to detect if overload advancement is ever useful" with
> "Remove dead callback overload handling" per Frederic's feedback - instead of
> adding a warning, just remove the dead code path entirely.
>
> nocb rcutorture scenarios passed overnight testing on my system.
I reverted three of your earlier patches in order to apply this, only
one of which I am really confident in. Please check my -rcu tree to see
if any of the three should be added back in, and I am starting tests in
the meantime.
Thanx, Paul
> Link to v2: https://lore.kernel.org/all/20260114173154.1701056-1-joelagnelf@xxxxxxxxxx/
> Link to v1: https://lore.kernel.org/all/20260101163417.1065705-1-joelagnelf@xxxxxxxxxx/
>
> Joel Fernandes (3):
> rcu/nocb: Remove unnecessary WakeOvfIsDeferred wake path
> rcu/nocb: Remove dead callback overload handling
> rcu/nocb: Extract nocb_defer_wakeup_cancel() helper
>
> kernel/rcu/tree.c | 2 +-
> kernel/rcu/tree.h | 3 +-
> kernel/rcu/tree_nocb.h | 80 ++++++++++++++----------------------------
> 3 files changed, 29 insertions(+), 56 deletions(-)
>
> --
> 2.34.1
>