From eaab2ad176d3c38586cb204ec7858804988542fa Mon Sep 17 00:00:00 2001 From: Nauval Rizky Date: Thu, 11 May 2023 15:00:21 +0800 Subject: [PATCH] sdm660-common: rootdir: Optimize sched_lib_name * Register more game libraries to sched_lib_name * Remove UnityMain from sched_lib_name --- rootdir/bin/init.qcom.post_boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh index 8780f6c0..d3830303 100644 --- a/rootdir/bin/init.qcom.post_boot.sh +++ b/rootdir/bin/init.qcom.post_boot.sh @@ -2852,7 +2852,7 @@ case "$target" in echo 120 > /proc/sys/kernel/sched_group_downmigrate # Report max frequency to unity tasks - echo "UnityMain,libunity.so" > /proc/sys/kernel/sched_lib_name + echo "libunity.so,com.miHoYo.,libfb.so,liblogic.so,libssgamesdkcronet.so,libil2cpp.so,com.activision." > /proc/sys/kernel/sched_lib_name echo 255 > /proc/sys/kernel/sched_lib_mask_force 255 #if the kernel version >=4.14,use the schedutil governor