diff options
Diffstat (limited to 'mm/vmstat.c')
-rw-r--r-- | mm/vmstat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c index 40b2db6db6b1..33581be705f0 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c | |||
@@ -1839,9 +1839,11 @@ static void vmstat_update(struct work_struct *w) | |||
1839 | * to occur in the future. Keep on running the | 1839 | * to occur in the future. Keep on running the |
1840 | * update worker thread. | 1840 | * update worker thread. |
1841 | */ | 1841 | */ |
1842 | preempt_disable(); | ||
1842 | queue_delayed_work_on(smp_processor_id(), mm_percpu_wq, | 1843 | queue_delayed_work_on(smp_processor_id(), mm_percpu_wq, |
1843 | this_cpu_ptr(&vmstat_work), | 1844 | this_cpu_ptr(&vmstat_work), |
1844 | round_jiffies_relative(sysctl_stat_interval)); | 1845 | round_jiffies_relative(sysctl_stat_interval)); |
1846 | preempt_enable(); | ||
1845 | } | 1847 | } |
1846 | } | 1848 | } |
1847 | 1849 | ||