[PATCH RFC v1 0/4] rcu/nocb: Clean ups and rcutorture test configs
From: Joel Fernandes
Date: Tue Feb 24 2026 - 18:07:14 EST
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
--
2.34.1