Skip to content

RFC rcu/nocb: Clean ups and rcutorture test configs

Joel Fernandes lkml rcu 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rcu/nocb: Consolidate rcu_nocb_cpu_offload/deoffload functionskernel/rcu/tree_nocb.h+46 -432 replies
2/4rcu/nocb: Extract nocb_bypass_needs_flush() to reduce duplicationkernel/rcu/tree_nocb.h+37 -141 reply
3/4rcutorture: Add NOCB01 config for RCU_LAZY torture testingtools/testing/selftests/rcutorture/configs/rcu/NOCB01 tools/testing/selftests/rcutorture/configs/rcu/NOCB01.boot+23 -01 reply
4/4rcutorture: Add NOCB02 config for nocb poll mode testingtools/testing/selftests/rcutorture/configs/rcu/NOCB02 tools/testing/selftests/rcutorture/configs/rcu/NOCB02.boot+23 -03 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPaul E. McKenneyFrederic Weisbecker
1/4R-b
2/4R-b
3/4A-b
4/4R-b T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RFC v1 0/4] rcu/nocb: Clean ups and rcutorture test configs

This series contains clean ups for the RCU NOCB code and adds new rcutorture test configurations for v7.1.

The first two patches consolidate duplicated code in the NOCB implementation. The last two patches add new rcutorture configs:
- NOCB01 exercises CONFIG_RCU_LAZY combined with CONFIG_RCU_NOCB_CPU.
- NOCB02 exercises the rcu_nocb_poll polling mode code paths. These configs are not added to CFLIST to avoid increasing default test duration. The series passes overnight rcutorture testing.

Joel Fernandes (4):
rcu/nocb: Consolidate rcu_nocb_cpu_offload/deoffload functions rcu/nocb: Extract nocb_bypass_needs_flush() to reduce duplication
rcutorture: Add NOCB01 config for RCU_LAZY torture testing
rcutorture: Add NOCB02 config for nocb poll mode testing

 kernel/rcu/tree_nocb.h                        | 140 +++++++++++-------
 .../selftests/rcutorture/configs/rcu/NOCB01   |  21 +++
 .../rcutorture/configs/rcu/NOCB01.boot        |   2 +
 .../selftests/rcutorture/configs/rcu/NOCB02   |  20 +++
 .../rcutorture/configs/rcu/NOCB02.boot        |   3 +
 5 files changed, 129 insertions(+), 57 deletions(-)
 create mode 100644 tools/testing/selftests/rcutorture/configs/rcu/NOCB01
 create mode 100644 tools/testing/selftests/rcutorture/configs/rcu/NOCB01.boot
 create mode 100644 tools/testing/selftests/rcutorture/configs/rcu/NOCB02
 create mode 100644 tools/testing/selftests/rcutorture/configs/rcu/NOCB02.boot
Signature · 1 line
2.34.1