Skip to content

Commit 1a140b4

Browse files
paulmckrcuurezki
authored andcommitted
rcutorture: Enable RCU priority boosting for TREE09
The TREE09 rcutorture scenario exhausts memory from time to time, and this is due to a reader being preempted and blocking grace periods, thus preventing recycling of the memory used in callback-flooding tests. This commit therefore enables RCU priority boosting and sets the boosting delay to 100 milliseconds after grace-period start. Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
1 parent 9e97ea7 commit 1a140b4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • tools/testing/selftests/rcutorture/configs/rcu

tools/testing/selftests/rcutorture/configs/rcu/TREE09

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ CONFIG_NO_HZ_FULL=n
1010
CONFIG_RCU_TRACE=n
1111
CONFIG_RCU_NOCB_CPU=n
1212
CONFIG_DEBUG_LOCK_ALLOC=n
13-
CONFIG_RCU_BOOST=n
13+
CONFIG_RCU_BOOST=y
14+
CONFIG_RCU_BOOST_DELAY=100
1415
CONFIG_DEBUG_OBJECTS_RCU_HEAD=n
15-
#CHECK#CONFIG_RCU_EXPERT=n
16+
CONFIG_RCU_EXPERT=y
1617
CONFIG_KPROBES=n
1718
CONFIG_FTRACE=n

0 commit comments

Comments
 (0)