]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcutorture: Add three-level tree test for Tree SRCU
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 10 Apr 2017 17:27:19 +0000 (10:27 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 8 Jun 2017 15:25:20 +0000 (08:25 -0700)
commit8d6dd656a1c5683534ee174f06c9b1d736ebea3c
tree56cea4b5528ace68eaca951facb7d0b4fac9ac49
parent27dc0b1b9fdaefeeb3d6c8fa0aed5d826ce8f3e9
rcutorture: Add three-level tree test for Tree SRCU

This commit adds a test for a three-level srcu_node tree for Tree SRCU
in the existing SRCU-P scenario.  This requires enabling CONFIG_RCU_EXPERT,
so the CONFIG_RCU_EXPERT=n scenario is now SRCU-N.  The reason for using
SRCU-P for the tall tree is that preemption raises the possibility of
locating more bugs than does the non-preemptive SRCU-N.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
tools/testing/selftests/rcutorture/configs/rcu/SRCU-N
tools/testing/selftests/rcutorture/configs/rcu/SRCU-P