ANDROID: sched/fair: correct pelt load information in sched-pelt.h
authorGuanglei Li <guanglei.li@unisoc.com>
Mon, 17 Dec 2018 10:57:32 +0000 (18:57 +0800)
committerTodd Kjos <tkjos@google.com>
Thu, 3 Jan 2019 17:16:48 +0000 (17:16 +0000)
commit3c207c880674e5d29aa1c9b7e94d812383c442ee
treed6b5c4b71c84b9693706d3871e18c926225ea991
parent3bdeffc4d1fea4e8e21753c358329ff010d440d5
ANDROID: sched/fair: correct pelt load information in sched-pelt.h

With the following commit:

cb22d9159761 ("sched/fair: add support to tune PELT ramp/decay timings)

PELT introduced 16ms/8ms for load/utilization half-life decayed.
Precomputed load information inclued in sched-pelt.h is generated by
Documentation/scheduler/sched-pelt.c.

With this commit, runnable_avg_yN_sum[]/LOAD_AVG_MAX/LOAD_AVG_MAX_N is
precomputed wrong for 16ms/8ms half-life.

Bug: 120440300
Change-Id: I83d90963b714449ec8036423ce8bc25f0b4cd6b9
Signed-off-by: Guanglei Li <guanglei.li@unisoc.com>
Signed-off-by: Ke Wang <ke.wang@unisoc.com>
Documentation/scheduler/sched-pelt.c
kernel/sched/sched-pelt.h