diff options
Diffstat (limited to 'mm/vmstat.c')
-rw-r--r-- | mm/vmstat.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c index c81321f9feec..6051fbab67ba 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c | |||
@@ -683,6 +683,9 @@ static const char * const vmstat_text[] = { | |||
683 | "slabs_scanned", | 683 | "slabs_scanned", |
684 | "kswapd_steal", | 684 | "kswapd_steal", |
685 | "kswapd_inodesteal", | 685 | "kswapd_inodesteal", |
686 | "kswapd_low_wmark_hit_quickly", | ||
687 | "kswapd_high_wmark_hit_quickly", | ||
688 | "kswapd_skip_congestion_wait", | ||
686 | "pageoutrun", | 689 | "pageoutrun", |
687 | "allocstall", | 690 | "allocstall", |
688 | 691 | ||
@@ -883,11 +886,10 @@ static void vmstat_update(struct work_struct *w) | |||
883 | 886 | ||
884 | static void __cpuinit start_cpu_timer(int cpu) | 887 | static void __cpuinit start_cpu_timer(int cpu) |
885 | { | 888 | { |
886 | struct delayed_work *vmstat_work = &per_cpu(vmstat_work, cpu); | 889 | struct delayed_work *work = &per_cpu(vmstat_work, cpu); |
887 | 890 | ||
888 | INIT_DELAYED_WORK_DEFERRABLE(vmstat_work, vmstat_update); | 891 | INIT_DELAYED_WORK_DEFERRABLE(work, vmstat_update); |
889 | schedule_delayed_work_on(cpu, vmstat_work, | 892 | schedule_delayed_work_on(cpu, work, __round_jiffies_relative(HZ, cpu)); |
890 | __round_jiffies_relative(HZ, cpu)); | ||
891 | } | 893 | } |
892 | 894 | ||
893 | /* | 895 | /* |