From e253849c3dad50acf5b43f7bc70f31f4fc53da0f Mon Sep 17 00:00:00 2001 From: Cyber Knight Date: Sun, 5 Sep 2021 13:51:11 +0800 Subject: [PATCH] kernel/cgroup: tuned uclamp values values were taken from https://gist.github.com/Panchajanya1999/7a4ffcbd428d25299723997724fb35d8 Signed-off-by: Cyber Knight --- kernel/cgroup/cpuset.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index 04f44c548feb..ebc61c05d001 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -2128,10 +2128,10 @@ static void uclamp_set(struct kernfs_open_file *of, const char *cs_name = cs->css.cgroup->kn->name; static struct ucl_param tgts[] = { - {"top-app", "10", "100", 1, 1}, - {"foreground", "0", "50", 0, 0}, - {"background", "20", "100", 0, 0}, - {"system-background", "0", "40", 0, 0}, + {"top-app", "max", "10", 1, 1}, + {"foreground", "50", "0", 0, 0}, + {"background", "max", "20", 0, 0}, + {"system-background", "40", "0", 0, 0}, {"camera-daemon", "50", "100", 1, 1}, };