login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
16
Re: [patch 2/3] Introduce BOOTMEM_EXCLUSIVE
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Dave Hansen <haveblue@...>
To: Bernhard Walle <bwalle@...>
Cc: <linux-kernel@...>, <kexec@...>, <akpm@...>, <ak@...>
Subject:
Re: [patch 2/3] Introduce BOOTMEM_EXCLUSIVE
Date: Tuesday, October 16, 2007 - 2:58 pm
On Tue, 2007-10-16 at 20:44 +0200, Bernhard Walle wrote:
quoted text
> * Dave Hansen <haveblue@us.ibm.com> [2007-10-16 20:08]: > > On Tue, 2007-10-16 at 18:28 +0200, Bernhard Walle wrote: > > > > > > @@ -736,7 +736,7 @@ static int __init smp_scan_config (unsig > > > smp_found_config = 1; > > > printk(KERN_INFO "found SMP MP-table at %08lx\n", > > > virt_to_phys(mpf)); > > > - reserve_bootmem(virt_to_phys(mpf), PAGE_SIZE); > > > + reserve_bootmem(virt_to_phys(mpf), PAGE_SIZE, 0); > > > if (mpf->mpf_physptr) { > > > /* > > > > Could you give all of these 0's a name? I really hate seeing random > > magic numbers in these things. 0 completely kills the ability of > > someone to read the code and figure out what it is trying to do without > > going and looking at reserve_bootmem(). > > Of course I can replace that zeroes with something like BOOTMEM_DEFAULT.
Cool.
quoted text
> > Or, alternatively, do something like this: > > > > -extern void reserve_bootmem(unsigned long addr, unsigned long size); > > Andi was against more bootmem functions. ;)
Yeah, I can't really blame him. -- Dave -
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:
[patch 2/3] Introduce BOOTMEM_EXCLUSIVE
, Bernhard Walle
, (Tue Oct 16, 12:28 pm)
Re: [patch 2/3] Introduce BOOTMEM_EXCLUSIVE
, Vivek Goyal
, (Wed Oct 17, 7:05 am)
Re: [patch 2/3] Introduce BOOTMEM_EXCLUSIVE
, Bernhard Walle
, (Thu Oct 18, 7:15 am)
Re: [patch 2/3] Introduce BOOTMEM_EXCLUSIVE
, Bernhard Walle
, (Wed Oct 17, 7:36 am)
Re: [patch 2/3] Introduce BOOTMEM_EXCLUSIVE
, Vivek Goyal
, (Thu Oct 18, 12:32 am)
Re: [patch 2/3] Introduce BOOTMEM_EXCLUSIVE
, Dave Hansen
, (Tue Oct 16, 2:08 pm)
Re: [patch 2/3] Introduce BOOTMEM_EXCLUSIVE
, Bernhard Walle
, (Tue Oct 16, 2:44 pm)
Re: [patch 2/3] Introduce BOOTMEM_EXCLUSIVE
, Dave Hansen
, (Tue Oct 16, 2:58 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Parag Warudkar
BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0]
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Arjan van de Ven
Re: [GIT]: Networking
David Miller
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
822 guests
online.
Online users
strcmp
roundtheruggedd
ernestogordon37
Syndicate