Skip to content

Commit

Permalink
deepin: config: adjust PSI and RCU config
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
opsiff committed Jan 6, 2025
1 parent 7630a32 commit 5eeb6a9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm64/configs/deepin_arm64_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ CONFIG_BPF_JIT_ALWAYS_ON=y
CONFIG_BPF_LSM=y
CONFIG_PREEMPT=y
CONFIG_SCHED_CORE=y
CONFIG_PSI=y
CONFIG_RCU_EXPERT=y
CONFIG_RCU_BOOST=y
CONFIG_RCU_NOCB_CPU=y
CONFIG_RCU_LAZY=y
CONFIG_RCU_LAZY_DEFAULT_OFF=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_CPU_MAX_BUF_SHIFT=15
Expand Down
5 changes: 5 additions & 0 deletions arch/loongarch/configs/deepin_loongarch_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_PSI=y
CONFIG_RCU_EXPERT=y
CONFIG_RCU_BOOST=y
CONFIG_RCU_NOCB_CPU=y
CONFIG_RCU_LAZY=y
CONFIG_RCU_LAZY_DEFAULT_OFF=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_IKHEADERS=m
Expand Down
5 changes: 5 additions & 0 deletions arch/x86/configs/deepin_x86_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_PSI=y
CONFIG_RCU_EXPERT=y
CONFIG_RCU_BOOST=y
CONFIG_RCU_NOCB_CPU=y
CONFIG_RCU_LAZY=y
CONFIG_RCU_LAZY_DEFAULT_OFF=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_IKHEADERS=m
Expand Down

0 comments on commit 5eeb6a9

Please sign in to comment.