diff options
author | Cody P Schafer <cody@linux.vnet.ibm.com> | 2013-07-03 18:01:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 19:07:27 -0400 |
commit | dd1895e2c5c9ed3a791d1d8eb4a6a3e241ec9d6e (patch) | |
tree | e431c4dd01ed86749cb9941dcd6afba93a315dba /mm/page_alloc.c | |
parent | 88c90dbccaaed35991b5336fec84294de1d23538 (diff) |
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>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index a235149d9406..2793ce50f316 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -3711,12 +3711,12 @@ void __ref build_all_zonelists(pg_data_t *pgdat, struct zone *zone) | |||
3711 | mminit_verify_zonelist(); | 3711 | mminit_verify_zonelist(); |
3712 | cpuset_init_current_mems_allowed(); | 3712 | cpuset_init_current_mems_allowed(); |
3713 | } else { | 3713 | } else { |
3714 | /* we have to stop all cpus to guarantee there is no user | ||
3715 | of zonelist */ | ||
3716 | #ifdef CONFIG_MEMORY_HOTPLUG | 3714 | #ifdef CONFIG_MEMORY_HOTPLUG |
3717 | if (zone) | 3715 | if (zone) |
3718 | setup_zone_pageset(zone); | 3716 | setup_zone_pageset(zone); |
3719 | #endif | 3717 | #endif |
3718 | /* we have to stop all cpus to guarantee there is no user | ||
3719 | of zonelist */ | ||
3720 | stop_machine(__build_all_zonelists, pgdat, NULL); | 3720 | stop_machine(__build_all_zonelists, pgdat, NULL); |
3721 | /* cpuset refresh routine should be here */ | 3721 | /* cpuset refresh routine should be here */ |
3722 | } | 3722 | } |