]> git.baikalelectronics.ru Git - kernel.git/commit
sched/migration: Move calc_load_migrate() into CPU_DYING
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Mar 2016 11:54:16 +0000 (12:54 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 6 May 2016 12:58:25 +0000 (14:58 +0200)
commitb230831b203611c9b6e6ba8a2d49c570131442a2
tree5e4250398f2787d9fcaf4752622f5bbb497d9940
parentfec76252a450dbea32f99ce467abec21d11ec1da
sched/migration: Move calc_load_migrate() into CPU_DYING

It really does not matter when we fold the load for the outgoing cpu. It's
almost dead anyway, so there is no harm if we fail to fold the few
microseconds which are required for going fully away.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: rt@linutronix.de
Link: http://lkml.kernel.org/r/20160310120025.328739226@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched/core.c