login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
24
Re: [PATCH] x86: remove early_res debug output (was Re: Confusing bootmem messages on bootup)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jiri Kosina
Subject:
Re: [PATCH] x86: remove early_res debug output (was Re: Confusing bootmem messages on bootup)
Date: Wednesday, March 24, 2010 - 3:56 am
On Mon, 22 Mar 2010, Jiri Kosina wrote:
quoted text
> On Mon, 22 Mar 2010, Ingo Molnar wrote: > > > Please also remove the other KERN_DEBUG leftovers - the #if 0 variants. > > From: Jiri Kosina <jkosina@suse.cz> > Subject: [PATCH] x86: remove 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> > > --- > 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; >
Ingo, are you going to pick this one up for -rc3 please? -- Jiri Kosina SUSE Labs, Novell Inc. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Confusing bootmem messages on bootup
, Jiri Kosina
, (Fri Mar 19, 7:30 am)
[PATCH] x86: remove early_res debug output (was Re: Confus ...
, Jiri Kosina
, (Fri Mar 19, 7:48 am)
Re: [PATCH] x86: remove early_res debug output (was Re: Co ...
, Ingo Molnar
, (Mon Mar 22, 1:28 am)
Re: [PATCH] x86: remove early_res debug output (was Re: Co ...
, Jiri Kosina
, (Mon Mar 22, 1:32 am)
Re: [PATCH] x86: remove early_res debug output (was Re: Co ...
, Jiri Kosina
, (Wed Mar 24, 3:56 am)
Re: [PATCH] x86: remove early_res debug output (was Re: Co ...
, Ingo Molnar
, (Wed Mar 24, 4:10 am)
Re: [PATCH] x86: remove early_res debug output (was Re: Co ...
, Andrew Morton
, (Wed Mar 24, 4:16 am)
[tip:core/urgent] x86: Remove excessive early_res debug output
, tip-bot for Jiri Kosina
, (Wed Mar 24, 4:21 am)
[tip:core/urgent] x86: Remove excessive early_res debug output
, tip-bot for Jiri Kosina
, (Wed Mar 24, 11:54 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Fortier,Vincent [Montreal]
2.6.21.5 june 30th to july 1st date hang?
Jeff Dike
[ PATCH 2/6 ] UML - Formatting fixes around os_{read_write}_file callers
Liam Girdwood
[PATCH 07/13] regulator: regulator test harness
Oleg Nesterov
Re: Getting the new RxRPC patches upstream
Stefan Seyfried
Re: 2.6.19-rc5: grub is much slower resuming from suspend-to-disk than in 2.6.18
linux-netdev
:
Arnaud Ebalard
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0
Jan Engelhardt
Re: [PATCH iptables] extension: add xt_cpu match
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Sebastian Andrzej Siewior
[PATCH 8/8] net/emergency: remove locking from reycling pool if emergncy pools are...
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
git
:
Jakub Narebski
Re: git on MacOSX and files with decomposed utf-8 file names
Brandon Casey
Re: Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the def...
Christian Couder
[PATCH 1/3] rev-parse: add test script for "--verify"
Ramkumar Ramachandra
Re: [GSoC update] git-remote-svn: The final one
Junio C Hamano
Re: git-rm isn't the inverse action of git-add
openbsd-misc
:
Joachim Schipper
Re: UVC Webcams
Florin Andrei
SOLVED [was: firewall is very slow, something's wrong]
Todd Alan Smith
Re: Microsoft gets the Most Secure Operating Systems award
Neal Hogan
Re: Need Advice: Thinkpad T60 or T61?
Sam Fourman Jr.
Re: Real men don't attack straw men
git-commits-head
:
Linux Kernel Mailing List
ACPI: Disable ARB_DISABLE on platforms where it is not needed
Linux Kernel Mailing List
m68knommu: add read_barrier_depends() and irqs_disabled_flags()
Linux Kernel Mailing List
[MTD] Add mtd panic_write function pointer
Linux Kernel Mailing List
[ARM] pxa: remove duplicate select statements from Kconfig
Linux Kernel Mailing List
mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER()
Colocation donated by:
Syndicate