mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
[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>
This commit is contained in:
1 parent
393b072587
commit
6b482c6779
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user