2017-06-07 02:51:32

by Aubrey Li

[permalink] [raw]
Subject: [PATCH] sched/idle: Add deferrable vmstat_updater back

Deferrable vmstat_updater was missing in commit c1de45ca831a
("sched/idle: Add support for tasks that inject idle"), add it back

Signed-off-by: Aubrey Li <[email protected]>
---
kernel/sched/idle.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c
index ef63adc..6c23e30 100644
--- a/kernel/sched/idle.c
+++ b/kernel/sched/idle.c
@@ -219,6 +219,7 @@ static void do_idle(void)
*/

__current_set_polling();
+ quiet_vmstat();
tick_nohz_idle_enter();

while (!need_resched()) {
--
2.7.4


Subject: [tip:sched/core] sched/idle: Add deferrable vmstat_updater back

Commit-ID: ebfa4c02fa4806bfef189e88152b833f2a732bff
Gitweb: http://git.kernel.org/tip/ebfa4c02fa4806bfef189e88152b833f2a732bff
Author: Aubrey Li <[email protected]>
AuthorDate: Wed, 7 Jun 2017 10:49:02 +0800
Committer: Ingo Molnar <[email protected]>
CommitDate: Thu, 8 Jun 2017 10:32:09 +0200

sched/idle: Add deferrable vmstat_updater back

Deferrable vmstat_updater was missing in commit:

c1de45ca831a ("sched/idle: Add support for tasks that inject idle")

Add it back.

Signed-off-by: Aubrey Li <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Aubrey Li <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
kernel/sched/idle.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c
index ef63adc..6c23e30 100644
--- a/kernel/sched/idle.c
+++ b/kernel/sched/idle.c
@@ -219,6 +219,7 @@ static void do_idle(void)
*/

__current_set_polling();
+ quiet_vmstat();
tick_nohz_idle_enter();

while (!need_resched()) {