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

Commit 7549fb91 authored by Jonathan Avila's avatar Jonathan Avila Committed by Sai Harshini Nimmala
Browse files

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: default avatarJonathan Avila <avilaj@codeaurora.org>
Signed-off-by: default avatarSai Harshini Nimmala <snimmala@codeaurora.org>
parent 075b40a5
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
/* 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