From: Jesse Barnes <jbarnes@engr.sgi.com>
To: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: [PATCH] quiet down per-zone memory stats
Date: Thu, 15 Jul 2004 18:23:33 -0400 [thread overview]
Message-ID: <200407151823.33854.jbarnes@engr.sgi.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 412 bytes --]
On a system with a lot of nodes, 4 lines of output per node is a lot to have
to sit through as the system comes up, especially if you're on the other end
of a slow serial link. The information is valuable though, so keep it around
for the system logger. This patch makes the printks for the memory stats use
KERN_DEBUG instead of the default loglevel.
Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Jesse
[-- Attachment #2: per-node-quiet.patch --]
[-- Type: text/x-diff, Size: 781 bytes --]
===== mm/page_alloc.c 1.220 vs edited =====
--- 1.220/mm/page_alloc.c 2004-07-11 01:52:11 -07:00
+++ edited/mm/page_alloc.c 2004-07-15 14:51:07 -07:00
@@ -1381,7 +1381,7 @@
for (i = 0; i < MAX_NR_ZONES; i++)
realtotalpages -= zholes_size[i];
pgdat->node_present_pages = realtotalpages;
- printk("On node %d totalpages: %lu\n", pgdat->node_id, realtotalpages);
+ printk(KERN_DEBUG "On node %d totalpages: %lu\n", pgdat->node_id, realtotalpages);
}
@@ -1487,7 +1487,7 @@
pcp->batch = 1 * batch;
INIT_LIST_HEAD(&pcp->list);
}
- printk(" %s zone: %lu pages, LIFO batch:%lu\n",
+ printk(KERN_DEBUG " %s zone: %lu pages, LIFO batch:%lu\n",
zone_names[j], realsize, batch);
INIT_LIST_HEAD(&zone->active_list);
INIT_LIST_HEAD(&zone->inactive_list);
reply other threads:[~2004-07-15 22:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200407151823.33854.jbarnes@engr.sgi.com \
--to=jbarnes@engr.sgi.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®