Merge "vmstat: Reduce time interval to stat update on idle cpu"

This commit is contained in:
Linux Build Service Account 2015-03-14 00:59:31 -07:00 committed by Gerrit - the friendly Code Review server
commit f49fec357a

View file

@ -1396,8 +1396,8 @@ static void vmstat_shepherd(struct work_struct *w)
if (need_update(cpu) && if (need_update(cpu) &&
cpumask_test_and_clear_cpu(cpu, cpu_stat_off)) cpumask_test_and_clear_cpu(cpu, cpu_stat_off))
schedule_delayed_work_on(cpu, &per_cpu(vmstat_work, cpu), schedule_delayed_work_on(cpu,
__round_jiffies_relative(sysctl_stat_interval, cpu)); &per_cpu(vmstat_work, cpu), 0);
put_online_cpus(); put_online_cpus();