OSDN Git Service

sched/fair: Enable periodic update of average thermal pressure
authorThara Gopinath <thara.gopinath@linaro.org>
Sat, 22 Feb 2020 00:52:10 +0000 (19:52 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 6 Mar 2020 11:57:20 +0000 (12:57 +0100)
commitb4eccf5f8e1dcade112d97be86ad455a94501a0f
treeb3d3be643d35958da735a2d75990da295ac277f5
parent8eab879c5463d1a16a314790764c4c9d6c74c64c
sched/fair: Enable periodic update of average thermal pressure

Introduce support in scheduler periodic tick and other CFS bookkeeping
APIs to trigger the process of computing average thermal pressure for a
CPU. Also consider avg_thermal.load_avg in others_have_blocked which
allows for decay of pelt signals.

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-7-thara.gopinath@linaro.org
kernel/sched/core.c
kernel/sched/fair.c