|
@@ -3711,12 +3711,12 @@ void __ref build_all_zonelists(pg_data_t *pgdat, struct zone *zone)
|
|
|
mminit_verify_zonelist();
|
|
|
cpuset_init_current_mems_allowed();
|
|
|
} else {
|
|
|
- /* we have to stop all cpus to guarantee there is no user
|
|
|
- of zonelist */
|
|
|
#ifdef CONFIG_MEMORY_HOTPLUG
|
|
|
if (zone)
|
|
|
setup_zone_pageset(zone);
|
|
|
#endif
|
|
|
+ /* we have to stop all cpus to guarantee there is no user
|
|
|
+ of zonelist */
|
|
|
stop_machine(__build_all_zonelists, pgdat, NULL);
|
|
|
/* cpuset refresh routine should be here */
|
|
|
}
|