Skip to content

RCU changes for v6.10

Uladzislau Rezki (Sony) bpf linux-trace-kernel lkml netdev rcu 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest48 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/48scftorture: Increase memory provided to guest OStools/testing/selftests/rcutorture/bin/torture.sh+1 -10 replies
2/48rcutorture: Disable tracing to permit Tasks Rude RCU testingtools/testing/selftests/rcutorture/bin/torture.sh+1 -10 replies
3/48rcu: Add lockdep checks and kernel-doc header to rcu_softirq_qs()kernel/rcu/tree.c+28 -00 replies
4/48rcutorture: Enable RCU priority boosting for TREE09tools/testing/selftests/rcutorture/configs/rcu/TREE09+3 -20 replies
5/48rcutorture: Dump # online CPUs on insufficient cb-flood launderingkernel/rcu/rcutorture.c+2 -20 replies
6/48rcutorture: Dump GP kthread state on insufficient cb-flood launderingkernel/rcu/rcutorture.c+2 -10 replies
7/48rcutorture: ASSERT_EXCLUSIVE_WRITER() for ->rtort_pipe_count updateskernel/rcu/rcutorture.c+3 -00 replies
8/48rcu-tasks: Make Tasks RCU wait idly for grace-period delaysinclude/linux/rcupdate_wait.h kernel/rcu/tasks.h kernel/rcu/update.c+16 -120 replies
9/48doc: Remove references to arrayRCU.rstDocumentation/RCU/whatisRCU.rst+3 -30 replies
10/48MAINTAINERS: Update Neeraj's email address.mailmap MAINTAINERS+3 -20 replies
11/48bpf: Select new NEED_TASKS_RCU Kconfig optionkernel/bpf/Kconfig+1 -10 replies
12/48arch: Select new NEED_TASKS_RCU Kconfig optionarch/Kconfig+2 -20 replies
13/48rcu: Add data structures for synchronize_rcu()kernel/rcu/tree.h+14 -00 replies
14/48tracing: Select new NEED_TASKS_RCU Kconfig optionkernel/trace/Kconfig+2 -20 replies
15/48bpf: Choose RCU Tasks based on TASKS_RCU rather than PREEMPTIONkernel/bpf/trampoline.c+1 -10 replies
16/48ftrace: Choose RCU Tasks based on TASKS_RCU rather than PREEMPTIONkernel/trace/ftrace.c+1 -20 replies
17/48rcu: Update lockdep while in RCU read-side critical sectioninclude/linux/rcupdate.h+1 -10 replies
18/48rcu: Make TINY_RCU depend on !PREEMPT_RCU rather than !PREEMPTIONkernel/rcu/Kconfig+1 -10 replies
19/48srcu: Make Tiny SRCU explicitly disable preemptioninclude/linux/srcutiny.h kernel/rcu/srcutiny.c+28 -50 replies
20/48rcu: Create NEED_TASKS_RCU to factor out enablement logickernel/rcu/Kconfig+5 -10 replies
21/48rcu: Remove redundant BH disabling in TINY_RCUkernel/rcu/tiny.c+0 -20 replies
22/48rcu: Make Tiny RCU explicitly disable preemptionkernel/rcu/tiny.c+2 -00 replies
23/48rcu: Remove redundant READ_ONCE() of rcu_state.gp_flags in tree.ckernel/rcu/tree.c+4 -70 replies
24/48rcu: Bring diagnostic read of rcu_state.gp_flags into alignmentkernel/rcu/tree_stall.h+1 -10 replies
25/48rcu: Mark writes to rcu_sync ->gp_count fieldkernel/rcu/sync.c+6 -221 replies
26/48rcu: Mark loads from rcu_state.n_online_cpuskernel/rcu/tree.c kernel/rcu/tree_stall.h+7 -30 replies
27/48rcu: Make hotplug operations track GP state, not flagskernel/rcu/tree.c kernel/rcu/tree.h kernel/rcu/tree_plugin.h+10 -100 replies
28/48rcu: Inform KCSAN of one-byte cmpxchg() in rcu_trc_cmpxchg_need_qs()kernel/rcu/tasks.h+9 -10 replies
29/48rcu: Remove redundant CONFIG_PROVE_RCU #if conditioninclude/linux/rcupdate.h+3 -30 replies
30/48rcu-tasks: Replace exit_tasks_rcu_start() initialization with WARN_ON_ONCE()kernel/rcu/tasks.h+1 -20 replies
31/48rcu-tasks: Fix the comments for tasks_rcu_exit_srcu_stall_timerkernel/rcu/tasks.h+1 -10 replies
32/48rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflowkernel/rcu/tasks.h+1 -10 replies
33/48rcu: Mollify sparse with RCU guardinclude/linux/rcupdate.h+13 -10 replies
34/48rcu: Fix buffer overflow in print_cpu_stall_info()kernel/rcu/tree_stall.h+2 -10 replies
35/48rcu: Reduce synchronize_rcu() latencyDocumentation/admin-guide/kernel-parameters.txt kernel/rcu/tree.c kernel/rcu/tree_exp.h+345 -20 replies
36/48rcu: Add a trace event for synchronize_rcu_normal()include/trace/events/rcu.h kernel/rcu/tree.c+33 -10 replies
37/48rcu: Support direct wake-up of synchronize_rcu() userskernel/rcu/tree.c kernel/rcu/tree.h+29 -10 replies
38/48rcu: Allocate WQ with WQ_MEM_RECLAIM bit setkernel/rcu/tree.c+5 -10 replies
39/48rcutorture: Remove extraneous rcu_torture_pipe_update_one() READ_ONCE()kernel/rcu/rcutorture.c+1 -10 replies
40/48rcutorture: Fix rcu_torture_one_read() pipe_count overflow commentkernel/rcu/rcutorture.c+2 -10 replies
41/48rcutorture: Re-use value stored to ->rtort_pipe_count instead of re-readingkernel/rcu/rcutorture.c+1 -10 replies
42/48rcutorture: Use the gp_kthread_dbg operation specified by cur_opskernel/rcu/rcutorture.c+2 -10 replies
43/48rcutorture: Make rcutorture support print rcu-tasks gp statekernel/rcu/rcu.h kernel/rcu/rcutorture.c kernel/rcu/srcutree.c +2 more+53 -320 replies
44/48rcutorture: Removing redundant function pointer initializationkernel/rcu/rcutorture.c+0 -120 replies
45/48rcutorture: Make stall-tasks directly exit when rcutorture tests endkernel/rcu/rcutorture.c+2 -20 replies
46/48rcutorture: Fix invalid context warning when enable srcu barrier testingkernel/rcu/rcutorture.c+4 -50 replies
47/48torture: Scale --do-kvfree test timetools/testing/selftests/rcutorture/bin/torture.sh+1 -10 replies
48/48rcutorture: Use rcu_gp_slow_register/unregister() only for rcutype testkernel/rcu/rcutorture.c+10 -40 replies

Reviews trailers per patch

17 of 48 patches have a Reviewed-by or Acked-by.

PatchJoel Fernandes (Google)Mark RutlandSteven Rostedt (Google)Paul E. McKenneyBoqun FengFrederic Weisbecker
1/48
2/48
3/48
4/48
5/48
6/48
7/48R-b
8/48
9/48
10/48R-b
11/48A-b
12/48A-b R-b
13/48R-b
14/48A-b
15/48
16/48
17/48R-b
18/48
19/48
20/48A-b
21/48
22/48
23/48
24/48
25/48
26/48
27/48
28/48
29/48
30/48
31/48
32/48R-b
33/48R-b
34/48R-b
35/48R-b R-b
36/48R-b
37/48R-b
38/48R-b R-b
39/48R-b
40/48
41/48R-b
42/48
43/48
44/48
45/48
46/48
47/48
48/48

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 00/48] RCU changes for v6.10

This is for 6.10 kernel:

fixes: Fix a lockdep complain for lazy-preemptible kernel, remove redundant BH disable for TINY_RCU, remove redundant READ_ONCE() in tree.c, fix false positives KCSAN splat and fix buffer overflow in the print_cpu_stall_info().

misc: Misc updates related to bpf, tracing and update the MAINTAINERS file.

rcu-sync-normal-improve: An improvement of a normal synchronize_rcu() call in terms of latency. It maintains a separate track for sync. users only. This approach bypasses per-cpu nocb-lists thus sync-users do not depend on nocb-list length and how fast regular callbacks are processed.

rcu-tasks: RCU tasks, switch tasks RCU grace periods to sleep at TASK_IDLE priority, fix some comments, add some diagnostic warning to the exit_tasks_rcu_start() and fix a buffer overflow in the show_rcu_tasks_trace_gp_kthread().

rcutorture: Increase memory to guest OS, fix a Tasks Rude RCU testing, some updates for TREE09, dump mode information to debug GP kthread state, remove redundant READ_ONCE(), fix some comments about RCU_TORTURE_PIPE_LEN and pipe_count, remove some redundant pointer initialization, fix a hung splat task by when the rcutorture tests start to exit, fix invalid context warning, add '--do-kvfree' parameter to torture test and use slow register unregister callbacks only for rcutype test.

Johannes Berg (1):
rcu: Mollify sparse with RCU guard

Neeraj Upadhyay (1):
MAINTAINERS: Update Neeraj's email address

Nikita Kiryushin (2):
rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow
rcu: Fix buffer overflow in print_cpu_stall_info()

Paul E. McKenney (29):
scftorture: Increase memory provided to guest OS
rcutorture: Disable tracing to permit Tasks Rude RCU testing
rcu: Add lockdep checks and kernel-doc header to rcu_softirq_qs()
rcutorture: Enable RCU priority boosting for TREE09
rcutorture: Dump # online CPUs on insufficient cb-flood laundering
rcutorture: Dump GP kthread state on insufficient cb-flood laundering
rcutorture: ASSERT_EXCLUSIVE_WRITER() for ->rtort_pipe_count updates
rcu-tasks: Make Tasks RCU wait idly for grace-period delays
bpf: Select new NEED_TASKS_RCU Kconfig option
arch: Select new NEED_TASKS_RCU Kconfig option
tracing: Select new NEED_TASKS_RCU Kconfig option
bpf: Choose RCU Tasks based on TASKS_RCU rather than PREEMPTION
ftrace: Choose RCU Tasks based on TASKS_RCU rather than PREEMPTION
rcu: Make TINY_RCU depend on !PREEMPT_RCU rather than !PREEMPTION
srcu: Make Tiny SRCU explicitly disable preemption
rcu: Create NEED_TASKS_RCU to factor out enablement logic
rcu: Remove redundant BH disabling in TINY_RCU
rcu: Make Tiny RCU explicitly disable preemption
rcu: Remove redundant READ_ONCE() of rcu_state.gp_flags in tree.c
rcu: Bring diagnostic read of rcu_state.gp_flags into alignment
rcu: Mark writes to rcu_sync ->gp_count field
rcu: Mark loads from rcu_state.n_online_cpus
rcu: Make hotplug operations track GP state, not flags
rcu: Inform KCSAN of one-byte cmpxchg() in rcu_trc_cmpxchg_need_qs()
rcu: Remove redundant CONFIG_PROVE_RCU #if condition
rcu-tasks: Replace exit_tasks_rcu_start() initialization with

    WARN_ON_ONCE()
  rcutorture: Remove extraneous rcu_torture_pipe_update_one()
    READ_ONCE()

rcutorture: Fix rcu_torture_one_read() pipe_count overflow comment
torture: Scale --do-kvfree test time

Uladzislau Rezki (Sony) (6):
rcu: Add data structures for synchronize_rcu()
rcu: Update lockdep while in RCU read-side critical section
rcu: Reduce synchronize_rcu() latency
rcu: Add a trace event for synchronize_rcu_normal()
rcu: Support direct wake-up of synchronize_rcu() users
rcu: Allocate WQ with WQ_MEM_RECLAIM bit set

Zenghui Yu (1):
doc: Remove references to arrayRCU.rst

Zqiang (7):
rcu-tasks: Fix the comments for tasks_rcu_exit_srcu_stall_timer
rcutorture: Use the gp_kthread_dbg operation specified by cur_ops
rcutorture: Make rcutorture support print rcu-tasks gp state
rcutorture: Removing redundant function pointer initialization
rcutorture: Make stall-tasks directly exit when rcutorture tests end
rcutorture: Fix invalid context warning when enable srcu barrier
testing
rcutorture: Use rcu_gp_slow_register/unregister() only for rcutype
test

linke li (1):
rcutorture: Re-use value stored to ->rtort_pipe_count instead of
re-reading

 .mailmap                                              |    3 -
 Documentation/RCU/whatisRCU.rst                       |    6 +-
 Documentation/admin-guide/kernel-parameters.txt       |   14 ++++
 MAINTAINERS                                           |    2
 arch/Kconfig                                          |    4 -
 include/linux/rcupdate.h                              |    2
 include/linux/rcupdate_wait.h                         |   18 +++---
 include/linux/srcutiny.h                              |    2
 include/trace/events/rcu.h                            |   27 +++++++++
 kernel/bpf/Kconfig                                    |    2
 kernel/bpf/trampoline.c                               |    2
 kernel/rcu/Kconfig                                    |    2
 kernel/rcu/rcu.h                                      |   20 +++---
 kernel/rcu/rcutorture.c                               |    4 -
 kernel/rcu/srcutiny.c                                 |   31 ++++++++--
 kernel/rcu/srcutree.c                                 |    5 -
 kernel/rcu/sync.c                                     |    8 ++
 kernel/rcu/tasks.h                                    |    6 +-
 kernel/rcu/tiny.c                                     |    2
 kernel/rcu/tree.c                                     |   28 +++++++++
 kernel/rcu/tree.h                                     |   14 ++++
 kernel/rcu/tree_exp.h                                 |    2
 kernel/rcu/tree_plugin.h                              |    4 -
 kernel/rcu/tree_stall.h                               |    2
 kernel/rcu/update.c                                   |    4 -
 kernel/trace/Kconfig                                  |    4 -
 kernel/trace/ftrace.c                                 |    3 -
 tools/testing/selftests/rcutorture/bin/torture.sh     |    2
 tools/testing/selftests/rcutorture/configs/rcu/TREE09 |    5 +
 include/linux/rcupdate.h                                |   20 +++++-
 kernel/rcu/Kconfig                                      |    6 +-
 kernel/rcu/rcutorture.c                                 |   81 +++++++++++++++------------
 kernel/rcu/tasks.h                                      |   38 +++++++++++-
 kernel/rcu/tiny.c                                       |    2
 kernel/rcu/tree.c                                       |  408 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
 kernel/rcu/tree.h                                       |   10 ++-
 kernel/rcu/tree_stall.h                                 |    9 ++-
 tools/testing/selftests/rcutorture/bin/torture.sh       |    4 -
 38 files changed, 666 insertions(+), 140 deletions(-)
Signature · 1 line
2.39.2