diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-02-17 17:57:35 -0800 |
---|---|---|
committer | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2024-04-09 15:10:13 +0200 |
commit | 1a140b46da8f3be8e55fbd0950653c9a235b6ce9 (patch) | |
tree | 33c260ecf490a739637ef9f52187a1c65f05be61 | |
parent | 9e97ea7796412e23b8ecc946fd0488a2de39ea76 (diff) | |
download | linux-1a140b46da8f3be8e55fbd0950653c9a235b6ce9.tar.gz linux-1a140b46da8f3be8e55fbd0950653c9a235b6ce9.tar.bz2 linux-1a140b46da8f3be8e55fbd0950653c9a235b6ce9.zip |
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>
-rw-r--r-- | tools/testing/selftests/rcutorture/configs/rcu/TREE09 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE09 b/tools/testing/selftests/rcutorture/configs/rcu/TREE09 index fc45645bb5f4..9ecd1b4e653d 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE09 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE09 @@ -10,8 +10,9 @@ CONFIG_NO_HZ_FULL=n CONFIG_RCU_TRACE=n CONFIG_RCU_NOCB_CPU=n CONFIG_DEBUG_LOCK_ALLOC=n -CONFIG_RCU_BOOST=n +CONFIG_RCU_BOOST=y +CONFIG_RCU_BOOST_DELAY=100 CONFIG_DEBUG_OBJECTS_RCU_HEAD=n -#CHECK#CONFIG_RCU_EXPERT=n +CONFIG_RCU_EXPERT=y CONFIG_KPROBES=n CONFIG_FTRACE=n |