aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2005-11-10 15:45:56 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-10 16:25:53 -0500
commit6b482c6779daaa893b277fc9b70767a7c2e7c5eb (patch)
treee5e5be3db037e724b276a0324b44810207dc5341
parent393b07258766130146b962bc294d66615a47468a (diff)
[PATCH] Don't print per-cpu vm stats for offline cpus.
I just hit a page allocation error on a kernel configured to support 64 CPUs. It spewed 60 completely useless unnecessary lines of info. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index ff81b5c65511..987225bdd661 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1330,7 +1330,7 @@ void show_free_areas(void)
1330 } else 1330 } else
1331 printk("\n"); 1331 printk("\n");
1332 1332
1333 for_each_cpu(cpu) { 1333 for_each_online_cpu(cpu) {
1334 struct per_cpu_pageset *pageset; 1334 struct per_cpu_pageset *pageset;
1335 1335
1336 pageset = zone_pcp(zone, cpu); 1336 pageset = zone_pcp(zone, cpu);