mm/page_alloc: relocate comment to be directly above code it refers to.
authorCody P Schafer <[email protected]>
Wed, 3 Jul 2013 22:01:36 +0000 (15:01 -0700)
committerLinus Torvalds <[email protected]>
Wed, 3 Jul 2013 23:07:27 +0000 (16:07 -0700)
Signed-off-by: Cody P Schafer <[email protected]>
Cc: Gilad Ben-Yossef <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Pekka Enberg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/page_alloc.c

index a235149d9406b2e48eb068087bd363610992194e..2793ce50f316d74be67c370c7c5670ba79c44ea5 100644 (file)
@@ -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 */
        }