[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210205114830.781-1-vincent.guittot@linaro.org>
Date: Fri, 5 Feb 2021 12:48:24 +0100
From: Vincent Guittot <vincent.guittot@...aro.org>
To: mingo@...hat.com, peterz@...radead.org, juri.lelli@...hat.com,
dietmar.eggemann@....com, rostedt@...dmis.org, bsegall@...gle.com,
mgorman@...e.de, fweisbec@...il.com, tglx@...utronix.de,
bristot@...hat.com, linux-kernel@...r.kernel.org,
joel@...lfernandes.org
Cc: qais.yousef@....com, Vincent Guittot <vincent.guittot@...aro.org>
Subject: [PATCH 0/6] move update blocked load outside newidle_balance
Joel reported long preempt and irq off sequence in newidle_balance because
of a large number of cgroups in used and having to be updated. This
patchset moves the update outside newidle_imblance in order to enable
early abort during the updates in case of pending irq as an example.
Instead of kicking a normal ILB that will wakes up CPU which is already
idle, patch 5 triggers the update of statistics in the idle thread of
the CPU before selecting and entering an idle state.
Vincent Guittot (6):
sched/fair: remove update of blocked load from newidle_balance
sched/fair: remove unused parameter of update_nohz_stats
sched/fair: merge for each idle cpu loop of ILB
sched/fair: reorder newidle_balance pulled_task test
sched/fair: trigger the update of blocked load on newly idle cpu
sched/fair: reduce the window for duplicated update
include/linux/sched/nohz.h | 2 +
kernel/sched/fair.c | 100 +++++++++++--------------------------
kernel/sched/idle.c | 6 +++
3 files changed, 38 insertions(+), 70 deletions(-)
--
2.17.1
Powered by blists - more mailing lists