mm/page_alloc: relocate comment to be directly above code it refers to.
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Cc: Gilad Ben-Yossef <gilad@benyossef.com> Cc: KOSAKI Motohiro <kosaki.motohiro@gmail.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Pekka Enberg <penberg@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
88c90dbcca
commit
dd1895e2c5
@@ -3711,12 +3711,12 @@ void __ref build_all_zonelists(pg_data_t *pgdat, struct zone *zone)
|
|||||||
mminit_verify_zonelist();
|
mminit_verify_zonelist();
|
||||||
cpuset_init_current_mems_allowed();
|
cpuset_init_current_mems_allowed();
|
||||||
} else {
|
} else {
|
||||||
/* we have to stop all cpus to guarantee there is no user
|
|
||||||
of zonelist */
|
|
||||||
#ifdef CONFIG_MEMORY_HOTPLUG
|
#ifdef CONFIG_MEMORY_HOTPLUG
|
||||||
if (zone)
|
if (zone)
|
||||||
setup_zone_pageset(zone);
|
setup_zone_pageset(zone);
|
||||||
#endif
|
#endif
|
||||||
|
/* we have to stop all cpus to guarantee there is no user
|
||||||
|
of zonelist */
|
||||||
stop_machine(__build_all_zonelists, pgdat, NULL);
|
stop_machine(__build_all_zonelists, pgdat, NULL);
|
||||||
/* cpuset refresh routine should be here */
|
/* cpuset refresh routine should be here */
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user