Skip to content

Commit

Permalink
uclamp_assist: Tune parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
xNombre authored and toraidl committed Mar 8, 2024
1 parent f531e49 commit 0ed314d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions kernel/sched/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -8363,11 +8363,12 @@ static void uclamp_set(struct cgroup_subsys_state *css)
int i;

static struct uclamp_param tgts[] = {
{"top-app", "1", "max", 1},
{"foreground", "0", "max", 0},
{"dex2oat", "0", "60", 0},
{"background", "0", "50", 0},
{"system-background", "0", "50", 0},
{"top-app", "20", "max", 1}, // 20-100%
{"foreground", "10", "80", 1}, // 10-80%
{"background", "0", "50", 0}, // 0-50%
{"system-background", "0", "60", 0}, // 0-60%
{"restricted", "0", "20", 0}, // 0-20%
{"camera-daemon", "20", "max", 1}, // 20-100%
};

if (!css->cgroup->kn)
Expand Down

0 comments on commit 0ed314d

Please sign in to comment.