mbox series

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

Message ID 4bf081c8-9299-4ee3-b337-d5b751cef6be@paulmck-laptop (mailing list archive)
Headers show
Series RCU torture-test changes for v6.16 | expand

Message

Paul E. McKenney March 10, 2025, 6:38 p.m. UTC
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(-)

Comments

Joel Fernandes March 11, 2025, 2:24 a.m. UTC | #1
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