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

with the following commit:

a05271a0123d ("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: Samer Xie <>
1 file changed