Skip to contentSkip to conversation

RCU fixes for v7.1

GIT PULL Merged Boqun Feng 2 participants 2 messages May 19 – May 20 RCU

lore
Share & tools
lore

Boqun Feng

author maintainer
#0 lore raw

Hi Linus,

Please pull this fix into v7.1. The issue was introduced by a previous fix PR rather than the v7.1 RCU merge window pull request, hence I'm sending this "fix-on-fix" PR. The issue is because queuing a work on a never-online CPU won't get the work callback executed, hence SRCU needs to avoid doing that.

The following changes since commit 7fd2df204f342fc17d1a0bfcd474b24232fb0f32:

Linux 7.1-rc2 (2026-05-03 14:21:25 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux.git tags/rcu-fixes.v7.1-20260519a

for you to fetch changes up to 593889c401426004bd0ea0f6d4fcece728b03420:

srcu: Don't queue workqueue handlers to never-online CPUs (2026-05-18 12:27:18 -0700)

----------------------------------------------------------------
RCU fixes for v7.1

Fix a regression introduced by commit 61bbcfb50514 ("srcu: Push srcu_node allocation to GP when non-preemptible"): SRCU may queue works on CPUs that are "possible" but never have been online. In such a case, the work callbacks may not be executed until the corresponding CPU gets online, and as the callbacks accumulates, workqueue lockups will fire. Fix this by avoiding queuing works on CPUs that have never been online. -----BEGIN PGP SIGNATURE-----

iQFhBAABCABLFiEEj5IosQTPz8XU1wRHSXnow7UH+rgFAmoMy/EbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzERxib3F1bkBrZXJuZWwub3JnAAoJEEl56MO1B/q4 lT8H/RlNu00LC24b0JxPYRBZJz3TSM2WlnGJQ+5LXSQgk2ecqzoTzwDE7oC3naPC QDkwGpSif8Y5OKaEnlVavtDcHdNa824mKrgRo/nXkk5fqrrMMubHOHe5Y0fwy5z5 upPoEvEs0XtbW4Mm6lI4uRw+qvIH16+Ud9SMrfZMwLRGaO8axBXi3rijUtfAMRGv xBFqJX15Z/ixWkA6aHGuM1fI4WdApUen4/W3oUC+Ka4Lpgtt29GmIOV3n/topNQq R8bZM9QC+7f6Vk1s49ywD9WZYa1b4Pig74XDOXn3328kulGBxVtOnOz4sXMgBmBF ZLvJ4xXy8+u1eM0DFcSExJCCvHc=
=PyvW
-----END PGP SIGNATURE-----

Regards,
Boqun

----------------------------------------------------------------
Paul E. McKenney (1):
srcu: Don't queue workqueue handlers to never-online CPUs

 kernel/rcu/srcutree.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 19 May 2026 14:21:00 -0700:

The pull request you sent on Tue, 19 May 2026 14:21:00 -0700:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux.git tags/rcu-fixes.v7.1-20260519a

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/df685633c3dbc67441cc86f1c3fee58de4652ba2

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html