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

Commit a81d3226 authored by Joel Fernandes's avatar Joel Fernandes
Browse files

ANDROID: sched/rt: schedtune: Add boost retention to RT



Boosted RT tasks can be deboosted quickly, this makes boost usless
for RT tasks and causes lots of glitching. Use timers to prevent
de-boost too soon and wait for long enough such that next enqueue
happens after a threshold.

While this can be solved in the governor, there are following
advantages:
- The approach used is governor-independent
- Reduces boost group lock contention for frequently sleepers/wakers

Note:
Fixed build breakage due to schedfreq dependency which isn't used
for RT anymore.

Bug: 30210506

Change-Id: I428a2695cac06cc3458cdde0dea72315e4e66c00
Signed-off-by: default avatarJoel Fernandes <joelaf@google.com>
parent fe09418d
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