sched/fair: use actual cpu capacity to calculate boosted util
Currently when calculating boosted util for a cpu, it uses a fixed value of 1024 for calculation. So when top-app tasks moved to LC, which has much lower capacity than BC, the freq calculated will be high even the cpu util is low. This results in higher power consumption, especially on arch which has more little cores than big cores. By replacing the fixed value of 1024 with actual cpu capacity will reduce the freq calculated on LC. Bug: 152925197 Test: boosted util reduced on little cores Signed-off-by:Rick Yiu <rickyiu@google.com> Change-Id: I80cdd08a2c7fa5e674c43bfc132584d85c14622b Signed-off-by:
minaripenguin <minaripenguin@users.noreply.github.com>
Loading
Please register or sign in to comment