From 698e00109f4e1aef31ab9b99b0214053181f2527 Mon Sep 17 00:00:00 2001 From: Vinayak Menon Date: Thu, 26 Mar 2015 15:35:55 +0530 Subject: [PATCH] Revert "vmstat: do not use deferrable delayed work for vmstat_update" This reverts commit ae5ffa6b56850057a230dd5aaa0aea15b557c13c. This patch is one among the 6 patches that were initially picked to fix an issue where tasks were getting blocked in reclaim path. But these patches are found to cause cpu wakeups. Change-Id: I8c1133552fb4fa0dfd19e98fc6cf8040c1fd8472 Signed-off-by: Vinayak Menon --- mm/vmstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmstat.c b/mm/vmstat.c index 60de3a6b6722..724b50c0bc0c 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -1411,7 +1411,7 @@ static void __init start_shepherd_timer(void) int cpu; for_each_possible_cpu(cpu) - INIT_DELAYED_WORK(per_cpu_ptr(&vmstat_work, cpu), + INIT_DEFERRABLE_WORK(per_cpu_ptr(&vmstat_work, cpu), vmstat_update); if (!alloc_cpumask_var(&cpu_stat_off, GFP_KERNEL))