sched/fair: Consider missed ticks in NOHZ_FULL in update_cpu_load_nohz()
authorByungchul Park <byungchul.park@lge.com>
Tue, 10 Nov 2015 00:36:02 +0000 (09:36 +0900)
committerIngo Molnar <mingo@kernel.org>
Mon, 23 Nov 2015 08:37:53 +0000 (09:37 +0100)
commit525705d15e63b7455977408e4601e76e6bc41524
tree9e201e3afd08f1874f79c6c00b227fc360e7844a
parent59543275488d18d878cd2ab2b1072efc1e9ac1c4
sched/fair: Consider missed ticks in NOHZ_FULL in update_cpu_load_nohz()

Usually the tick can be stopped for an idle CPU in NOHZ. However in NOHZ_FULL
mode, a non-idle CPU's tick can also be stopped. However, update_cpu_load_nohz()
does not consider the case a non-idle CPU's tick has been stopped at all.

This patch makes the update_cpu_load_nohz() know if the calling path comes
from NOHZ_FULL or idle NOHZ.

Signed-off-by: Byungchul Park <byungchul.park@lge.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1447115762-19734-3-git-send-email-byungchul.park@lge.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
kernel/sched/fair.c
kernel/time/tick-sched.c
This page took 0.027849 seconds and 5 git commands to generate.