* Don't print per-cpu vm stats for offline cpus.
@ 2005-11-10 20:45 Dave Jones
0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2005-11-10 20:45 UTC (permalink / raw)
To: Linux Kernel; +Cc: Linus Torvalds, akpm
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>
--- linux-2.6.14/mm/page_alloc.c~ 2005-11-10 15:42:52.000000000 -0500
+++ linux-2.6.14/mm/page_alloc.c 2005-11-10 15:43:16.000000000 -0500
@@ -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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-10 20:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-10 20:45 Don't print per-cpu vm stats for offline cpus Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox