Skip to contentSkip to conversation

RCU fixes for v7.0

GIT PULL Merged Boqun Feng 2 participants 2 messages Mar 7 RCU

lore
Share & tools
lore

Boqun Feng

author maintainer
#0 lore raw

Hi Linus,

Please pull these RCU fixes into v7.0. The issue is that some pre-defined scenarios in RCU torture tests have not adjusted the recent PREEMPT_LAZY kconfig changes. I could have found it if I ran rcutorture against linux-next, will do that next time. Thankfully Paul found and fixed it quickly ;-)

The following changes since commit 11439c4635edd669ae435eec308f4ab8a0804808:

Linux 7.0-rc2 (2026-03-01 15:39:31 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux.git tags/rcu-fixes.v7.0-20260307a

for you to fetch changes up to 78c2ce0fd6ddb6c87aaa56b0d49c70e17df21e6d:

scftorture: Update due to x86 not supporting none/voluntary preemption (2026-03-05 13:11:10 -0800)

----------------------------------------------------------------
RCU fixes for v7.0

Fix a regression in RCU torture test pre-defined scenarios caused by commit 7dadeaa6e851 ("sched: Further restrict the preemption modes") which limits PREEMPT_NONE to architectures that do not support preemption at all and PREEMPT_VOLUNTARY to those architectures that do not yet have PREEMPT_LAZY support. Since major architectures (e.g. x86 and arm64) no longer support CONFIG_PREEMPT_NONE and CONFIG_PREEMPT_VOLUNTARY, using them in rcutorture, rcuscale, refscale, and scftorture pre-defined scenarios causes config checking errors. Hence switch these kconfigs to PREEMPT_LAZY.
-----BEGIN PGP SIGNATURE-----

iQFFBAABCAAvFiEEj5IosQTPz8XU1wRHSXnow7UH+rgFAmmsZu0RHGJvcXVuQGtl cm5lbC5vcmcACgkQSXnow7UH+rgNWwgAn1bIWDIWQR9CkRQ0grhdO+pPfLusbVg/ Y7H3SsdEX03meSunA/IVGejP6Qbanuab9nyHdv3WxxowpCGYBaLFPvklSfcBWYeZ 4lxi6Fj+2rrzvOnQ54Pk5i4v5VayxEo12XBIgx6HDV7+5LgWk0gU0LpWPUhEWYYR z/zJ/XbcLr8e9tZVwAWZj/ShLUH301razC2SaR/OlS93zqRG9Sd251Knjqq/lEwI T6RZfhT2Wz3bgqU3QcjxDWw5dhB0/Y9wKoJjx4bB9m8lnSt+o96gH40TO+lnllnS T4OHjqK1J1fUXNLzQufyfKKAiwi/LBBc9H4pe4tiLFxg0fg5s21flQ== =NBys
-----END PGP SIGNATURE-----

Regards,
Boqun

----------------------------------------------------------------
Paul E. McKenney (4):
rcutorture: Update due to x86 not supporting none/voluntary preemption
rcuscale: Update due to x86 not supporting none/voluntary preemption
refscale: Update due to x86 not supporting none/voluntary preemption
scftorture: Update due to x86 not supporting none/voluntary preemption

 tools/testing/selftests/rcutorture/configs/rcu/SRCU-N         | 4 +++-
 tools/testing/selftests/rcutorture/configs/rcu/SRCU-T         | 3 ++-
 tools/testing/selftests/rcutorture/configs/rcu/SRCU-U         | 4 ++--
 tools/testing/selftests/rcutorture/configs/rcu/TASKS02        | 3 ++-
 tools/testing/selftests/rcutorture/configs/rcu/TINY01         | 4 ++--
 tools/testing/selftests/rcutorture/configs/rcu/TINY02         | 3 ++-
 tools/testing/selftests/rcutorture/configs/rcu/TRACE01        | 3 ++-
 tools/testing/selftests/rcutorture/configs/rcu/TREE04         | 4 +++-
 tools/testing/selftests/rcutorture/configs/rcu/TREE05         | 4 +++-
 tools/testing/selftests/rcutorture/configs/rcu/TREE06         | 5 ++++-
 tools/testing/selftests/rcutorture/configs/rcu/TREE10         | 1 +
 tools/testing/selftests/rcutorture/configs/rcu/TRIVIAL        | 4 +++-
 tools/testing/selftests/rcutorture/configs/rcuscale/TINY      | 3 ++-
 tools/testing/selftests/rcutorture/configs/rcuscale/TRACE01   | 3 ++-
 tools/testing/selftests/rcutorture/configs/refscale/NOPREEMPT | 3 ++-
 tools/testing/selftests/rcutorture/configs/refscale/TINY      | 3 ++-
 tools/testing/selftests/rcutorture/configs/scf/NOPREEMPT      | 3 ++-
 17 files changed, 39 insertions(+), 18 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 7 Mar 2026 10:05:17 -0800:

The pull request you sent on Sat, 7 Mar 2026 10:05:17 -0800:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux.git tags/rcu-fixes.v7.0-20260307a

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

Thank you!

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