aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorMel Gorman <mel@csn.ul.ie>2008-07-24 00:26:52 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 13:47:14 -0400
commit68ad8df42e12037c3894c9706ab428bf5cd6426b (patch)
tree42999fc8e3cbf400b6133f832f310690f8f28b76 /mm/page_alloc.c
parent2dbb51c49f4fecb8330e43247a0edfbc4b2b8974 (diff)
mm: print out the zonelists on request for manual verification
This patch prints out the zonelists during boot for manual verification by the user if the mminit_loglevel is MMINIT_VERIFY or higher. Signed-off-by: Mel Gorman <mel@csn.ul.ie> Cc: Christoph Lameter <cl@linux-foundation.org> Cc: Andy Whitcroft <apw@shadowen.org> Cc: Ingo Molnar <mingo@elte.hu> 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 0adb66e711e6..9ece07ce65b0 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2352,6 +2352,7 @@ void build_all_zonelists(void)
2352 2352
2353 if (system_state == SYSTEM_BOOTING) { 2353 if (system_state == SYSTEM_BOOTING) {
2354 __build_all_zonelists(NULL); 2354 __build_all_zonelists(NULL);
2355 mminit_verify_zonelist();
2355 cpuset_init_current_mems_allowed(); 2356 cpuset_init_current_mems_allowed();
2356 } else { 2357 } else {
2357 /* we have to stop all cpus to guarantee there is no user 2358 /* we have to stop all cpus to guarantee there is no user