[PATCH tip/core/rcu 0/9] Torture-test changes for 4.11

From: Paul E. McKenney
Date: Sat Jan 14 2017 - 04:25:48 EST


Hello!

This series provides torture-test updates:

1. Add a check for CONFIG_RCU_STALL_COMMON for TINY01, in order
to complain if this case is not tested.

2. Add CONFIG_PROVE_RCU_REPEATEDLY=y for TINY02, in order to test
this case.

3. Add tests without slow grace period setup/cleanup, as this case
is what is actually used in production.

4. Run at least one test with CONFIG_DEBUG_OBJECTS_RCU_HEAD, to make
sure that this case is tested regularly.

5. Run one test with DEBUG_LOCK_ALLOC but not PROVE_LOCKING, to make
sure that this case is tested regularly.

6. Run a couple scenarios with CONFIG_RCU_EQS_DEBUG, again to make
sure that this case is tested regularly.

7. Update RCU test scenario documentation.

8. Fix potential memory leak with rw lock test, courtesy of Yang Shi.

9. Enable DEBUG_OBJECTS_RCU_HEAD for Tiny RCU, you guessed it, to
make sure that this case is regularly tested.

Thanx, Paul

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

kernel/locking/locktorture.c | 6 ++
tools/testing/selftests/rcutorture/configs/rcu/CFcommon | 3 -
tools/testing/selftests/rcutorture/configs/rcu/TINY01 | 1
tools/testing/selftests/rcutorture/configs/rcu/TINY02 | 3 -
tools/testing/selftests/rcutorture/configs/rcu/TREE01 | 3 +
tools/testing/selftests/rcutorture/configs/rcu/TREE02 | 4 +
tools/testing/selftests/rcutorture/configs/rcu/TREE03 | 3 +
tools/testing/selftests/rcutorture/configs/rcu/TREE04 | 4 +
tools/testing/selftests/rcutorture/configs/rcu/TREE05 | 3 +
tools/testing/selftests/rcutorture/configs/rcu/TREE06 | 3 +
tools/testing/selftests/rcutorture/configs/rcu/TREE07 | 3 +
tools/testing/selftests/rcutorture/configs/rcu/TREE08 | 4 -
tools/testing/selftests/rcutorture/doc/TREE_RCU-kconfig.txt | 33 +++++++++++-
13 files changed, 65 insertions(+), 8 deletions(-)