Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1c847afb authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Todd Kjos
Browse files

ANDROID: sched: WALT: Refactor cumulative runnable average fixup



When a runnable task window is rolled over, it's CPU cumulative
runnable average needs to be updated accordingly. Currently this
is handled in a common function for all scheduling classes. However
when CFS_BANDWIDTH is enabled, fair scheduling class needs special
handling. As a preparation step, add a callback in sched_class
for updating the cumulative runnable average. The subsequent patches
make use of this callback and implement a different method for
fair scheduling class.

Bug: 139071966
Change-Id: Iffa88ab89254932177b1ea4eeaf12ec305c1c9c6
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: default avatarTodd Kjos <tkjos@google.com>
parent 5e36f63b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment