sched/fair: Enable tuning of decay period
authorThara Gopinath <thara.gopinath@linaro.org>
Sat, 22 Feb 2020 00:52:13 +0000 (19:52 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 6 Mar 2020 11:57:21 +0000 (12:57 +0100)
commit05289b90c2e40ae80f5c70431cd0be4cc8a6038d
treec384c54328abecb0222ce53b3bfdcfb2e6a10a6b
parentf12e4f66ab6a31f17da386b682e5fec87ae46537
sched/fair: Enable tuning of decay period

Thermal pressure follows pelt signals which means the decay period for
thermal pressure is the default pelt decay period. Depending on SoC
characteristics and thermal activity, it might be beneficial to decay
thermal pressure slower, but still in-tune with the pelt signals.  One way
to achieve this is to provide a command line parameter to set a decay
shift parameter to an integer between 0 and 10.

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/20200222005213.3873-10-thara.gopinath@linaro.org
Documentation/admin-guide/kernel-parameters.txt
kernel/sched/core.c
kernel/sched/fair.c
kernel/sched/sched.h