sched/fair: Change PELT half-life to 8ms

PELT's common ratio is based on a 32ms half life. Change this to 8ms.
Adapted from Patrick Bellasi's (patrick.bellasi@arm.com) patch, available
here: https://patchwork.kernel.org/patch/10331795/.

Change-Id: I67ad8c80811569b7eaea2ca6e76840c6f20f250e
Signed-off-by: Jonathan Avila <avilaj@codeaurora.org>
Signed-off-by: Sai Harshini Nimmala <snimmala@codeaurora.org>
This commit is contained in:
Jonathan Avila 2020-01-03 15:26:13 -08:00 • committed by Sai Harshini Nimmala
commit 7549fb9157

View file

@ -1,6 +1,15 @@
/* SPDX-License-Identifier: GPL-2.0 */
/* Generated by Documentation/scheduler/sched-pelt; do not modify. */
#ifdef CONFIG_SCHED_WALT
static const u32 runnable_avg_yN_inv[] __maybe_unused = {
0xffffffff, 0xeac0c6e6, 0xd744fcc9, 0xc5672a10,
0xb504f333, 0xa5fed6a9, 0x9837f050, 0x8b95c1e3,
};
#define LOAD_AVG_PERIOD 8
#define LOAD_AVG_MAX 12336
#else
static const u32 runnable_avg_yN_inv[] __maybe_unused = {
0xffffffff, 0xfa83b2da, 0xf5257d14, 0xefe4b99a, 0xeac0c6e6, 0xe5b906e6,
0xe0ccdeeb, 0xdbfbb796, 0xd744fcc9, 0xd2a81d91, 0xce248c14, 0xc9b9bd85,
@ -12,3 +21,4 @@ static const u32 runnable_avg_yN_inv[] __maybe_unused = {
#define LOAD_AVG_PERIOD 32
#define LOAD_AVG_MAX 47742
#endif