Skip to content

Lazy Preempt changes for v6.15

Boqun Feng linux-kselftest linux-rt-devel linux-trace-kernel lkml rcu 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11rcu: fix header guard for rcu_all_qs()include/linux/rcutree.h+1 -10 replies
2/11rcu: rename PREEMPT_AUTO to PREEMPT_LAZYinclude/linux/srcutiny.h kernel/rcu/Kconfig kernel/rcu/srcutiny.c+9 -90 replies
3/11sched: update __cond_resched comment about RCU quiescent stateskernel/sched/core.c+3 -10 replies
4/11rcu: handle unstable rdp in rcu_read_unlock_strict()include/linux/rcupdate.h kernel/rcu/tree_plugin.h+11 -20 replies
5/11rcu: handle quiescent states for PREEMPT_RCU=n, PREEMPT_COUNT=ykernel/rcu/tree_plugin.h+7 -40 replies
6/11osnoise: provide quiescent stateskernel/trace/trace_osnoise.c+15 -172 replies
7/11rcutorture: Update rcutorture_one_extend_check() for lazy preemptionkernel/rcu/rcutorture.c+12 -20 replies
8/11rcutorture: Update ->extendables check for lazy preemptionkernel/rcu/rcutorture.c+10 -20 replies
9/11rcu: limit PREEMPT_RCU configurationskernel/rcu/Kconfig+1 -10 replies
10/11rcutorture: Make scenario TREE10 build CONFIG_PREEMPT_LAZY=ytools/testing/selftests/rcutorture/configs/rcu/TREE10+2 -10 replies
11/11rcutorture: Make scenario TREE07 build CONFIG_PREEMPT_LAZY=ytools/testing/selftests/rcutorture/configs/rcu/TREE07+2 -10 replies

Reviews trailers per patch

8 of 11 patches have a Reviewed-by or Acked-by.

PatchFrederic WeisbeckerSebastian Andrzej SiewiorDaniel Bristot de Oliveirakernel test robotPaul E. McKenneySteven Rostedt (Google)
1/11R-b R-b
2/11R-b R-b
3/11R-b
4/11R-b
5/11R-b R-b
6/11R-b A-b A-b
7/11T-b
8/11R-b
9/11R-b
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH rcu 00/11] Lazy Preempt changes for v6.15

Hi,

Please find the upcoming changes for CONFIG_PREEMPT_LAZY in RCU. The changes can also be found at:

	git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux.git lazypreempt.2025.02.24a

Paul & Ankur, I put patch #7 and #8 (bug fixes in rcutorture) before patch #9 (which is the one that enables non-preemptible RCU in preemptible kernel), because I want to avoid introduce a bug in-between a series, appreciate it if you can double check on this. Thanks!

Regards,
Boqun

Ankur Arora (7):
rcu: fix header guard for rcu_all_qs()
rcu: rename PREEMPT_AUTO to PREEMPT_LAZY
sched: update __cond_resched comment about RCU quiescent states
rcu: handle unstable rdp in rcu_read_unlock_strict()
rcu: handle quiescent states for PREEMPT_RCU=n, PREEMPT_COUNT=y
osnoise: provide quiescent states
rcu: limit PREEMPT_RCU configurations

Boqun Feng (1):
rcutorture: Update ->extendables check for lazy preemption

Paul E. McKenney (3):
rcutorture: Update rcutorture_one_extend_check() for lazy preemption
rcutorture: Make scenario TREE10 build CONFIG_PREEMPT_LAZY=y
rcutorture: Make scenario TREE07 build CONFIG_PREEMPT_LAZY=y

 include/linux/rcupdate.h                      |  2 +-
 include/linux/rcutree.h                       |  2 +-
 include/linux/srcutiny.h                      |  2 +-
 kernel/rcu/Kconfig                            |  4 +--
 kernel/rcu/rcutorture.c                       | 26 ++++++++++++---
 kernel/rcu/srcutiny.c                         | 14 ++++----
 kernel/rcu/tree_plugin.h                      | 22 ++++++++++---
 kernel/sched/core.c                           |  4 ++-
 kernel/trace/trace_osnoise.c                  | 32 +++++++++----------
 .../selftests/rcutorture/configs/rcu/TREE07   |  3 +-
 .../selftests/rcutorture/configs/rcu/TREE10   |  3 +-
 11 files changed, 73 insertions(+), 41 deletions(-)
Signature · 1 line
2.39.5 (Apple Git-154)