login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
17
Re: [PATCH] x86: Move crashkernel reservation before dma32_reserve_bootmem()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Yinghai Lu <yhlu.kernel@...>
To: Bernhard Walle <bwalle@...>
Cc: <x86@...>, <vgoyal@...>, <linux-kernel@...>, <kexec@...>, <akpm@...>
Subject:
Re: [PATCH] x86: Move crashkernel reservation before dma32_reserve_bootmem()
Date: Thursday, July 17, 2008 - 6:50 pm
On Thu, Jul 17, 2008 at 3:15 PM, Bernhard Walle <bwalle@suse.de> wrote:
quoted text
> On a x86-64 machine (nothing special I could encounter) I had the problem that > crashkernel reservation with the usual "64M@16M" failed. While debugging that, > I encountered that dma32_reserve_bootmem() reserves a memory region which is in > that area. > > Because dma32_reserve_bootmem() does not rely on a specific offset but > crashkernel does, it makes sense to move the crashkernel reservation up a bit. > I tested that patch and it works without problems. I don't see any negative > effects of that move, but maybe I oversaw something ... > > While we strictly don't need that patch in 2.6.27 because we have the > automatic, dynamic offset detection, it makes sense to also include it here > because: > > - it's easier to get it in -stable then, > - many people are still used to the 'crashkernel=...@16M' syntax, > - not everybody may be using a reloatable kernel. > > Signed-off-by: Bernhard Walle <bwalle@suse.de> > --- > arch/x86/kernel/setup.c | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c > index 531b55b..16101c0 100644 > --- a/arch/x86/kernel/setup.c > +++ b/arch/x86/kernel/setup.c > @@ -792,6 +792,12 @@ void __init setup_arch(char **cmdline_p) > > initmem_init(0, max_pfn); > > + /* > + * dma32_reserve_bootmem() allocates bootmem which may conflict > + * with the crashkernel command line, so do that before > + */ > + reserve_crashkernel(); > + > #ifdef CONFIG_X86_64 > dma32_reserve_bootmem(); > #endif > @@ -808,7 +814,6 @@ void __init setup_arch(char **cmdline_p) > */ > find_smp_config(); > #endif > - reserve_crashkernel(); > > reserve_ibft_region(); >
Joe Jin already had another one to move dma32_reserve_bootmem later YH --
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] x86: Move crashkernel reservation before dma32_reser...
, Bernhard Walle
, (Thu Jul 17, 6:15 pm)
Re: [PATCH] x86: Move crashkernel reservation before dma32_r...
, Yinghai Lu
, (Thu Jul 17, 6:50 pm)
Re: [PATCH] x86: Move crashkernel reservation before dma32_r...
, Bernhard Walle
, (Fri Jul 18, 5:52 am)
Re: [PATCH] x86: Move crashkernel reservation before dma32_r...
, Yinghai Lu
, (Fri Jul 18, 12:22 pm)
[PATCH] x86: Move dma32_reserve_bootmem() after reserve_cras...
, Bernhard Walle
, (Fri Jul 18, 1:07 pm)
Re: [PATCH] x86: Move dma32_reserve_bootmem() after reserve_...
, Ingo Molnar
, (Fri Jul 18, 5:36 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Pavel Emelianov
[RFC][PATCH 4/7] RSS accounting hooks over the code
Avi Kivity
[PATCH 03/54] KVM: MMU: Rename variables of type 'struct kvm_mmu_page *'
Alan
Re: [RFC] Heads up on sys_fallocate()
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
openbsd-misc
:
linux-netdev
:
David Miller
Re: 2.6.25-rc8: FTP transfer errors
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Neil Horman
Re: [RFC] net: release dst entry in dev_queue_xmit()
Colocation donated by:
Who's online
There are currently
2 users
and
906 guests
online.
Online users
rejupal
penelop321
Syndicate