We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44d8a7d commit 751e5f5Copy full SHA for 751e5f5
mm/vmstat.c
@@ -1483,6 +1483,7 @@ static void __init start_shepherd_timer(void)
1483
BUG();
1484
cpumask_copy(cpu_stat_off, cpu_online_mask);
1485
1486
+ vmstat_wq = alloc_workqueue("vmstat", WQ_FREEZABLE|WQ_MEM_RECLAIM, 0);
1487
schedule_delayed_work(&shepherd,
1488
round_jiffies_relative(sysctl_stat_interval));
1489
}
@@ -1550,7 +1551,6 @@ static int __init setup_vmstat(void)
1550
1551
1552
start_shepherd_timer();
1553
cpu_notifier_register_done();
- vmstat_wq = alloc_workqueue("vmstat", WQ_FREEZABLE|WQ_MEM_RECLAIM, 0);
1554
#endif
1555
#ifdef CONFIG_PROC_FS
1556
proc_create("buddyinfo", S_IRUGO, NULL, &fragmentation_file_operations);
0 commit comments