sched: ems: update cpu_scale when policy is updated
authorPark Bumgyu <bumgyu.park@samsung.com>
Wed, 2 May 2018 02:27:23 +0000 (11:27 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:24:56 +0000 (20:24 +0300)
commit9c3673ab4946fa63208a2bd534c112e81021d65c
tree8156ed72e366e97163634c4e15ae68adad811ad9
parentf39dab72cc9c31515cd9535cd81c42637008b7c6
sched: ems: update cpu_scale when policy is updated

When policy->max is pressed, the performance of the cpu is
constrained. In the constrained state, the cpu capacity also
changes, and the overutil condition changes accordingly, so
the cpu scale is updated whenever policy is changed.

Change-Id: Ie6938e605d55cf700164a7512ffd6c41a747cbbc
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
kernel/sched/ems/energy.c