mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
Merge "vmstat: Reduce time interval to stat update on idle cpu"
This commit is contained in:
commit
f49fec357a
1 changed files with 2 additions and 2 deletions
|
@ -1396,8 +1396,8 @@ static void vmstat_shepherd(struct work_struct *w)
|
|||
if (need_update(cpu) &&
|
||||
cpumask_test_and_clear_cpu(cpu, cpu_stat_off))
|
||||
|
||||
schedule_delayed_work_on(cpu, &per_cpu(vmstat_work, cpu),
|
||||
__round_jiffies_relative(sysctl_stat_interval, cpu));
|
||||
schedule_delayed_work_on(cpu,
|
||||
&per_cpu(vmstat_work, cpu), 0);
|
||||
|
||||
put_online_cpus();
|
||||
|
||||
|
|
Loading…
Reference in a new issue