Reapply "mm: vmstat: use power efficient workingqueues"

This reverts commit dcc7a0ac59.
This commit is contained in:
Ksawlii 2024-12-18 11:25:22 +01:00
parent e4f1c291cf
commit 20898b7053

View file

@ -1964,7 +1964,7 @@ static void vmstat_shepherd(struct work_struct *w)
}
put_online_cpus();
schedule_delayed_work(&shepherd,
queue_delayed_work(system_power_efficient_wq, &shepherd,
round_jiffies_relative(sysctl_stat_interval));
}
@ -1976,7 +1976,7 @@ static void __init start_shepherd_timer(void)
INIT_DEFERRABLE_WORK(per_cpu_ptr(&vmstat_work, cpu),
vmstat_update);
schedule_delayed_work(&shepherd,
queue_delayed_work(system_power_efficient_wq, &shepherd,
round_jiffies_relative(sysctl_stat_interval));
}