X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mm%2Fvmstat.c;h=6051fbab67ba26533594103c62790f779cd21c08;hb=8d22ba1b74aa9420b6032d856446564fb21f8090;hp=c81321f9feec1cb28eee1b7e07237017336b89d0;hpb=25472b880c69c0daa485c4f80a6550437ed1149f;p=~andy%2Flinux diff --git a/mm/vmstat.c b/mm/vmstat.c index c81321f9fee..6051fbab67b 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -683,6 +683,9 @@ static const char * const vmstat_text[] = { "slabs_scanned", "kswapd_steal", "kswapd_inodesteal", + "kswapd_low_wmark_hit_quickly", + "kswapd_high_wmark_hit_quickly", + "kswapd_skip_congestion_wait", "pageoutrun", "allocstall", @@ -883,11 +886,10 @@ static void vmstat_update(struct work_struct *w) static void __cpuinit start_cpu_timer(int cpu) { - struct delayed_work *vmstat_work = &per_cpu(vmstat_work, cpu); + struct delayed_work *work = &per_cpu(vmstat_work, cpu); - INIT_DELAYED_WORK_DEFERRABLE(vmstat_work, vmstat_update); - schedule_delayed_work_on(cpu, vmstat_work, - __round_jiffies_relative(HZ, cpu)); + INIT_DELAYED_WORK_DEFERRABLE(work, vmstat_update); + schedule_delayed_work_on(cpu, work, __round_jiffies_relative(HZ, cpu)); } /*