diff options
author | Dave Jones <davej@redhat.com> | 2005-11-10 15:45:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-10 13:25:53 -0800 |
commit | 6b482c6779daaa893b277fc9b70767a7c2e7c5eb (patch) | |
tree | e5e5be3db037e724b276a0324b44810207dc5341 /mm | |
parent | 393b07258766130146b962bc294d66615a47468a (diff) | |
download | linux-3.10-6b482c6779daaa893b277fc9b70767a7c2e7c5eb.tar.gz linux-3.10-6b482c6779daaa893b277fc9b70767a7c2e7c5eb.tar.bz2 linux-3.10-6b482c6779daaa893b277fc9b70767a7c2e7c5eb.zip |
[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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index ff81b5c6551..987225bdd66 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -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); |