Skip to content

Commit 5eeb6a9

Browse files
committed
deepin: config: adjust PSI and RCU config
config: adjust PSI and RCU config [1] CONFIG_PSI: It has already enabled in x86 and loongarch config, enable it on arm64 config. [2] CONFIG_RCU_BOOST: Config helps to boost the priority of preempted RCU readers that block the current preemptible RCU grace period for too long. Enable CONFIG_RCU_BOOST for x86, arm64, loongarch architectures. Link:https://android.googlesource.com/kernel/common/+/83571e3b13db8d4ce64cc62644b35181125867cf [3] CONFIG_RCU_LAZY: It is still disabled by default. Must specify rcutree.enable_rcu_lazy and rcu_nocbs=all in boot time parameter to actually enable it. Link:https://android.googlesource.com/kernel/common/+/61dd43b723d3553a794be6a279ec330db059ea98 [4] CONFIG_RCU_EXPERT, CONFIG_RCU_NOCB_CPU: Enable configs needed for RCU perf/power optimizations Link:https://android.googlesource.com/kernel/common/+/e9b2f28785260537f78edc901e65592f9e1869af Signed-off-by: Wentao Guan <[email protected]>
1 parent 7630a32 commit 5eeb6a9

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

arch/arm64/configs/deepin_arm64_desktop_defconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ CONFIG_BPF_JIT_ALWAYS_ON=y
1212
CONFIG_BPF_LSM=y
1313
CONFIG_PREEMPT=y
1414
CONFIG_SCHED_CORE=y
15+
CONFIG_PSI=y
1516
CONFIG_RCU_EXPERT=y
17+
CONFIG_RCU_BOOST=y
1618
CONFIG_RCU_NOCB_CPU=y
19+
CONFIG_RCU_LAZY=y
20+
CONFIG_RCU_LAZY_DEFAULT_OFF=y
1721
CONFIG_IKCONFIG=y
1822
CONFIG_IKCONFIG_PROC=y
1923
CONFIG_LOG_CPU_MAX_BUF_SHIFT=15

arch/loongarch/configs/deepin_loongarch_desktop_defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ CONFIG_TASK_DELAY_ACCT=y
2020
CONFIG_TASK_XACCT=y
2121
CONFIG_TASK_IO_ACCOUNTING=y
2222
CONFIG_PSI=y
23+
CONFIG_RCU_EXPERT=y
24+
CONFIG_RCU_BOOST=y
25+
CONFIG_RCU_NOCB_CPU=y
26+
CONFIG_RCU_LAZY=y
27+
CONFIG_RCU_LAZY_DEFAULT_OFF=y
2328
CONFIG_IKCONFIG=y
2429
CONFIG_IKCONFIG_PROC=y
2530
CONFIG_IKHEADERS=m

arch/x86/configs/deepin_x86_desktop_defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ CONFIG_TASK_DELAY_ACCT=y
1919
CONFIG_TASK_XACCT=y
2020
CONFIG_TASK_IO_ACCOUNTING=y
2121
CONFIG_PSI=y
22+
CONFIG_RCU_EXPERT=y
23+
CONFIG_RCU_BOOST=y
24+
CONFIG_RCU_NOCB_CPU=y
25+
CONFIG_RCU_LAZY=y
26+
CONFIG_RCU_LAZY_DEFAULT_OFF=y
2227
CONFIG_IKCONFIG=y
2328
CONFIG_IKCONFIG_PROC=y
2429
CONFIG_IKHEADERS=m

0 commit comments

Comments
 (0)