| commit | 63d1657d00e069237d742dd50235e97404866079 | [log] [tgz] |
|---|---|---|
| author | Samer Xie <samer.xie@unisoc.com> | Thu Jan 24 11:23:21 2019 +0800 |
| committer | Todd Kjos <tkjos@google.com> | Mon Jan 28 17:17:56 2019 +0000 |
| tree | 8c0102bc6a75c5950343957f89d8e9a271b518a9 | |
| parent | 70014b13c28cbf1e2375f13993c51ffbef705a1a [diff] |
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 <samer.xie@unisoc.com>