Commit 6b482c67 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds
Browse files

[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: default avatarDave Jones <>
Signed-off-by: default avatarLinus Torvalds <>
parent 393b0725
......@@ -1330,7 +1330,7 @@ void show_free_areas(void)
} else
for_each_cpu(cpu) {
for_each_online_cpu(cpu) {
struct per_cpu_pageset *pageset;
pageset = zone_pcp(zone, cpu);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment