From 0cc188a5c5a559b75a07aa25283beb28dbf1bcfd Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Tue, 9 Jul 2019 06:08:31 +0000 Subject: [PATCH] sdm660-common: Import SchedTune tuning from b4s4 Change-Id: Ia805b346b2b24fcc24f80af8dc4ffcba3f0c3fbc --- rootdir/etc/init.qcom.rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index e963f34c..683517be 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -57,6 +57,11 @@ on init chown root system /sys/fs/cgroup/memory/bg/tasks chmod 0660 /sys/fs/cgroup/memory/bg/tasks + # set default schedTune value for foreground/top-app + write /dev/stune/foreground/schedtune.prefer_idle 1 + write /dev/stune/top-app/schedtune.boost 10 + write /dev/stune/top-app/schedtune.prefer_idle 1 + on post-fs chmod 0755 /sys/kernel/debug/tracing