You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
stop_machine: Wean existing callers off stop_machine_run()
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
+2
-2
@@ -2372,7 +2372,7 @@ static void build_zonelist_cache(pg_data_t *pgdat)
|
||||
|
||||
#endif /* CONFIG_NUMA */
|
||||
|
||||
/* return values int ....just for stop_machine_run() */
|
||||
/* return values int ....just for stop_machine() */
|
||||
static int __build_all_zonelists(void *dummy)
|
||||
{
|
||||
int nid;
|
||||
@@ -2397,7 +2397,7 @@ void build_all_zonelists(void)
|
||||
} else {
|
||||
/* we have to stop all cpus to guarantee there is no user
|
||||
of zonelist */
|
||||
stop_machine_run(__build_all_zonelists, NULL, NR_CPUS);
|
||||
stop_machine(__build_all_zonelists, NULL, NULL);
|
||||
/* cpuset refresh routine should be here */
|
||||
}
|
||||
vm_total_pages = nr_free_pagecache_pages();
|
||||
|
||||
Reference in New Issue
Block a user