sched/idle: Move quiet_vmstate() into the NOHZ code
commit62cb1188ed86a9cf082fd2f757d4dd9b54741f24
authorPeter Zijlstra <peterz@infradead.org>
Tue, 29 Aug 2017 13:07:54 +0000 (29 15:07 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Oct 2017 09:43:29 +0000 (10 11:43 +0200)
tree7d4e28f82b4f5f9dc3cc5e437135542b749eabfe
parent151aeab77738469ddbf0f9532e2fddd0d231aa2b
sched/idle: Move quiet_vmstate() into the NOHZ code

quiet_vmstat() is an expensive function that only makes sense when we
go into NOHZ.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
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>
Cc: aubrey.li@linux.intel.com
Cc: cl@linux.com
Cc: fweisbec@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/idle.c
kernel/time/tick-sched.c