mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
Merge "mm: vmstat: make vmstat_work cpu bound during requeue"
This commit is contained in:
commit
c6df1eef2e
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue