Merge "mm: vmstat: make vmstat_work cpu bound during requeue"

This commit is contained in:
Linux Build Service Account 2015-04-28 22:49:56 -07:00 committed by Gerrit - the friendly Code Review server
commit c6df1eef2e

View file

@ -1278,7 +1278,8 @@ int sysctl_stat_interval __read_mostly = HZ;
static void vmstat_update(struct work_struct *w)
{
refresh_cpu_vm_stats(smp_processor_id());
schedule_delayed_work(&__get_cpu_var(vmstat_work),
schedule_delayed_work_on(smp_processor_id(),
&__get_cpu_var(vmstat_work),
round_jiffies_relative(sysctl_stat_interval));
}