]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Don't print per-cpu vm stats for offline cpus.
authorDave Jones <davej@redhat.com>
Thu, 10 Nov 2005 20:45:56 +0000 (15:45 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 10 Nov 2005 21:25:53 +0000 (13:25 -0800)
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>
mm/page_alloc.c

index ff81b5c65511df6a1604f486ba6fae44553cb8e4..987225bdd661c33cffa0674e3fae7245a6b85a1f 100644 (file)
@@ -1330,7 +1330,7 @@ void show_free_areas(void)
                } else
                        printk("\n");
 
-               for_each_cpu(cpu) {
+               for_each_online_cpu(cpu) {
                        struct per_cpu_pageset *pageset;
 
                        pageset = zone_pcp(zone, cpu);