login
Login
/
Register
Search
Search this site:
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
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Yinghai Lu
Subject:
Re: [PATCH] x86: Move crashkernel reservation before dma32_reserve_bootmem()
Date: Thursday, July 17, 2008 - 3: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_res ...
, Bernhard Walle
, (Thu Jul 17, 3:15 pm)
Re: [PATCH] x86: Move crashkernel reservation before dma32 ...
, Yinghai Lu
, (Thu Jul 17, 3:50 pm)
Re: [PATCH] x86: Move crashkernel reservation before dma32 ...
, Bernhard Walle
, (Fri Jul 18, 2:52 am)
Re: [PATCH] x86: Move crashkernel reservation before dma32 ...
, Yinghai Lu
, (Fri Jul 18, 9:22 am)
[PATCH] x86: Move dma32_reserve_bootmem() after reserve_cr ...
, Bernhard Walle
, (Fri Jul 18, 10:07 am)
Re: [PATCH] x86: Move dma32_reserve_bootmem() after reserv ...
, Ingo Molnar
, (Fri Jul 18, 2:36 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #11559] 2.6.27-rc6: nohz + s2ram = need to press keys to get progress
Chris Mason
Re: [Bug #11548] kernel BUG at drivers/pci/intel-iommu.c:1373!
Josef 'Jeff' Sipek
[PATCH 23/24] Unionfs: Kconfig and Makefile
Borislav Petkov
2.6.23-rc1: no setup signature found...
David Miller
Re: 'global' rq->clock
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Peter Kjellerstedt
RE: [PATCH] send-email: do not check for editor until needed
Laflen, Brandon (GE, Research)
RE: fatal: Unable to find remote helper for 'http'
Oliver Hoffmann
git init --bare versus git --bare init
Sam Song
Fwd: [OT] Re: Git via a proxy server?
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
David Miller
Re: [PATCH v5] rfs: Receive Flow Steering
David Miller
Re: [PATCH 2/2] macb: process the RX ring regardless of interrupt status
openbsd-misc
:
Private Equity Investment Exchange of Vietnam
Cong cu huu hieu: Cong giao tiep dau tu chuyen nghiep nhat Vietnam | Private Equit...
mark reardon
pfctl not loading rules - Must enable table loading for optimizations
KURS ENGLESKOG JEZIKA NA 10 CD-a
AUDIO-VIZUELNA METODA UCENJA ENGLESKOG JEZIKA na 10 CD-a
Nick Guenther
Re: This is what Linus Torvalds calls openBSD crowd
L. V. Lammert
OT, .. but has anyone seen a crontab editor
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB (13368): af9015: support for Sveon STV20 Tuner USB DVB-T HDTV
Linux Kernel Mailing List
ixgbe: Fix - Do not allow Rx FC on 82598 at 1G due to errata
Linux Kernel Mailing List
checkpatch: add check for too short Kconfig descriptions
Linux Kernel Mailing List
Bluetooth: Fallback eSCO to SCO on error 0x1a (Unsupported Remote Feature)
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
Colocation donated by:
Syndicate