[PATCH 0/9] RCU torture-test changes for v6.16

Paul E. McKenney posted 9 patches 11 months ago
b/kernel/rcu/rcutorture.c                                |  124 ++++--
b/tools/testing/selftests/rcutorture/bin/srcu_lockdep.sh |   11
b/tools/testing/selftests/rcutorture/bin/torture.sh      |   12
kernel/rcu/rcutorture.c                                  |  297 ++++++++++++---
tools/testing/selftests/rcutorture/bin/srcu_lockdep.sh   |   31 +
5 files changed, 383 insertions(+), 92 deletions(-)
[PATCH 0/9] RCU torture-test changes for v6.16
Posted by Paul E. McKenney 11 months ago
Hello!

The following series improves testing of SRCU-fast and SRCU up/down:

1.	Make srcu_lockdep.sh check kernel Kconfig.

2.	Make srcu_lockdep.sh check reader-conflict handling.

3.	Split out beginning and end from rcu_torture_one_read().

4.	Make torture.sh --do-rt use CONFIG_PREEMPT_RT.

5.	Add tests for SRCU up/down reader primitives.

6.	Pull rcu_torture_updown() loop body into new function.

7.	Comment invocations of tick_dep_set_task().

8.	Complain if an ->up_read() is delayed more than 10 seconds.

9.	Check for ->up_read() without matching ->down_read().

						Thanx, Paul

------------------------------------------------------------------------

 b/kernel/rcu/rcutorture.c                                |  124 ++++--
 b/tools/testing/selftests/rcutorture/bin/srcu_lockdep.sh |   11 
 b/tools/testing/selftests/rcutorture/bin/torture.sh      |   12 
 kernel/rcu/rcutorture.c                                  |  297 ++++++++++++---
 tools/testing/selftests/rcutorture/bin/srcu_lockdep.sh   |   31 +
 5 files changed, 383 insertions(+), 92 deletions(-)
Re: [PATCH 0/9] RCU torture-test changes for v6.16
Posted by Joel Fernandes 11 months ago
On Mon, Mar 10, 2025 at 11:38:02AM -0700, Paul E. McKenney wrote:
> Hello!
> 
> The following series improves testing of SRCU-fast and SRCU up/down:
> 
> 1.	Make srcu_lockdep.sh check kernel Kconfig.
> 
> 2.	Make srcu_lockdep.sh check reader-conflict handling.
> 
> 3.	Split out beginning and end from rcu_torture_one_read().
> 
> 4.	Make torture.sh --do-rt use CONFIG_PREEMPT_RT.
> 
> 5.	Add tests for SRCU up/down reader primitives.
> 
> 6.	Pull rcu_torture_updown() loop body into new function.
> 
> 7.	Comment invocations of tick_dep_set_task().
> 
> 8.	Complain if an ->up_read() is delayed more than 10 seconds.
> 
> 9.	Check for ->up_read() without matching ->down_read().

Will queue for 6.16 on my side, for further testing and review.

thanks,

 - Joel