timers/nohz: Update NOHZ load in remote tick
authorPeter Zijlstra (Intel) <peterz@infradead.org>
Sat, 11 Jan 2020 09:53:39 +0000 (04:53 -0500)
committerIngo Molnar <mingo@kernel.org>
Tue, 28 Jan 2020 20:36:44 +0000 (21:36 +0100)
commitebc0f83c78a2d26384401ecf2d2fa48063c0ee27
tree5549117417df46bf2e73150903f3856246eff870
parent488603b815a7514c7009e6fc339d74ed4a30f343
timers/nohz: Update NOHZ load in remote tick

The way loadavg is tracked during nohz only pays attention to the load
upon entering nohz.  This can be particularly noticeable if full nohz is
entered while non-idle, and then the cpu goes idle and stays that way for
a long time.

Use the remote tick to ensure that full nohz cpus report their deltas
within a reasonable time.

[ swood: Added changelog and removed recheck of stopped tick. ]

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Scott Wood <swood@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/1578736419-14628-3-git-send-email-swood@redhat.com
include/linux/sched/nohz.h
kernel/sched/core.c
kernel/sched/loadavg.c