Skip to content

Commit

Permalink
ANDROID: arm64: configs: Change UCLAMP_BUCKETS_COUNT to 20
Browse files Browse the repository at this point in the history
Using the default setting 5 means the first bucket contains the
uclamp values from 0 to 19 (in percentage), in this case, if the
uclamp.min setting of a group is under 20, it will fall into this
bucket with other groups that have uclamp.min set to 0, which
increase the possibility of over boost. By setting the bucket
count to 20 will ease this situation, while a uclamp.min greater
than 4 will fall into a different bucket.

Bug: 170487162
Signed-off-by: Rick Yiu <[email protected]>
Change-Id: Ife96b199bee36faedc8e129ade17e475cdbe44e0
  • Loading branch information
Rickyiu authored and YumeMichi committed Oct 8, 2021
1 parent f023484 commit f4156ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/configs/dipper_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=21
CONFIG_LOG_CPU_MAX_BUF_SHIFT=17
CONFIG_UCLAMP_TASK=y
CONFIG_UCLAMP_BUCKETS_COUNT=20
CONFIG_CGROUPS=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CPUSETS=y
Expand Down

0 comments on commit f4156ba

Please sign in to comment.