diff options
author | 2017-08-29 15:07:54 +0200 | |
---|---|---|
committer | 2017-10-10 11:43:29 +0200 | |
commit | 62cb1188ed86a9cf082fd2f757d4dd9b54741f24 (patch) | |
tree | 7d4e28f82b4f5f9dc3cc5e437135542b749eabfe /kernel/sched | |
parent | Merge branch 'sched/urgent' into sched/core, to pick up fixes (diff) | |
download | linux-62cb1188ed86a9cf082fd2f757d4dd9b54741f24.tar.gz linux-62cb1188ed86a9cf082fd2f757d4dd9b54741f24.tar.bz2 linux-62cb1188ed86a9cf082fd2f757d4dd9b54741f24.zip |
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>
Diffstat (limited to 'kernel/sched')
-rw-r--r-- | kernel/sched/idle.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c index 257f4f0b4532..b2e8f0afbb42 100644 --- a/kernel/sched/idle.c +++ b/kernel/sched/idle.c @@ -219,7 +219,6 @@ static void do_idle(void) */ __current_set_polling(); - quiet_vmstat(); tick_nohz_idle_enter(); while (!need_resched()) { |