From: tip-bot for Jiri Kosina <jkosina@suse.cz>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
yinghai@kernel.org, hannes@cmpxchg.org, jkosina@suse.cz,
akpm@linux-foundation.org, tglx@linutronix.de, mingo@elte.hu
Subject: [tip:core/urgent] x86: Remove excessive early_res debug output
Date: Wed, 24 Mar 2010 18:54:36 GMT [thread overview]
Message-ID: <tip-c26f91a3df1999ec1b3298372d73f90cbab81106@git.kernel.org> (raw)
In-Reply-To: <alpine.LNX.2.00.1003220931360.18642@pobox.suse.cz>
Commit-ID: c26f91a3df1999ec1b3298372d73f90cbab81106
Gitweb: http://git.kernel.org/tip/c26f91a3df1999ec1b3298372d73f90cbab81106
Author: Jiri Kosina <jkosina@suse.cz>
AuthorDate: Mon, 22 Mar 2010 09:32:26 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Wed, 24 Mar 2010 19:51:08 +0100
x86: Remove excessive early_res debug output
Commit 08677214e318297 ("x86: Make 64 bit use early_res instead
of bootmem before slab") introduced early_res replacement for
bootmem, but left code in __free_pages_memory() which dumps all
the ranges that are beeing freed, without any additional
information, causing some noise in dmesg during bootup.
Just remove printing of the ranges, that doesn't provide
anything useful anyway.
While at it, remove other commented-out KERN_DEBUG messages in
the NO_BOOTMEM code as well.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Found-OK-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <alpine.LNX.2.00.1003220931360.18642@pobox.suse.cz>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
mm/bootmem.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/mm/bootmem.c b/mm/bootmem.c
index d7c791e..9b13446 100644
--- a/mm/bootmem.c
+++ b/mm/bootmem.c
@@ -180,19 +180,12 @@ static void __init __free_pages_memory(unsigned long start, unsigned long end)
end_aligned = end & ~(BITS_PER_LONG - 1);
if (end_aligned <= start_aligned) {
-#if 1
- printk(KERN_DEBUG " %lx - %lx\n", start, end);
-#endif
for (i = start; i < end; i++)
__free_pages_bootmem(pfn_to_page(i), 0);
return;
}
-#if 1
- printk(KERN_DEBUG " %lx %lx - %lx %lx\n",
- start, start_aligned, end_aligned, end);
-#endif
for (i = start; i < start_aligned; i++)
__free_pages_bootmem(pfn_to_page(i), 0);
@@ -428,9 +421,6 @@ void __init free_bootmem_node(pg_data_t *pgdat, unsigned long physaddr,
{
#ifdef CONFIG_NO_BOOTMEM
free_early(physaddr, physaddr + size);
-#if 0
- printk(KERN_DEBUG "free %lx %lx\n", physaddr, size);
-#endif
#else
unsigned long start, end;
@@ -456,9 +446,6 @@ void __init free_bootmem(unsigned long addr, unsigned long size)
{
#ifdef CONFIG_NO_BOOTMEM
free_early(addr, addr + size);
-#if 0
- printk(KERN_DEBUG "free %lx %lx\n", addr, size);
-#endif
#else
unsigned long start, end;
prev parent reply other threads:[~2010-03-24 18:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-19 14:30 Confusing bootmem messages on bootup Jiri Kosina
2010-03-19 14:48 ` [PATCH] x86: remove early_res debug output (was Re: Confusing bootmem messages on bootup) Jiri Kosina
2010-03-22 8:28 ` Ingo Molnar
2010-03-22 8:32 ` Jiri Kosina
2010-03-24 10:56 ` Jiri Kosina
2010-03-24 11:10 ` Ingo Molnar
2010-03-24 11:16 ` Andrew Morton
2010-03-24 11:21 ` [tip:core/urgent] x86: Remove excessive early_res debug output tip-bot for Jiri Kosina
2010-03-24 18:54 ` tip-bot for Jiri Kosina [this message]
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=tip-c26f91a3df1999ec1b3298372d73f90cbab81106@git.kernel.org \
--to=jkosina@suse.cz \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=yinghai@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