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

Skip to content
Commit 63d1657d authored by Samer Xie's avatar Samer Xie Committed by Todd Kjos
Browse files

ANDROID: sched/rt: fix the problem that rt_rq's util is always zero.



with the following commit:

a05271a0 ("FROMLIST: sched/rt: add utilization tracking")

No chance to accumulate for the load avg of rt rq due to the weight
and the running are always zero in update_rt_rq_load_avg(). Fix
that by setting the weight equal the running.

Bug: 120440300
Change-Id: Ie8326cf678e255ac0431aa87d3fa2a273e8d622e
Signed-off-by: default avatarSamer Xie <samer.xie@unisoc.com>
parent 70014b13
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