login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
22
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Johannes Weiner <hannes@...>
To: Greg KH <gregkh@...>
Cc: <linux-kernel@...>, <stable@...>, Justin Forbes <jmforbes@...>, Zwane Mwaikambo <zwane@...>, Theodore Ts'o <tytso@...>, Randy Dunlap <rdunlap@...>, Dave Jones <davej@...>, Chuck Wolber <chuckw@...>, Chris Wedgwood <reviews@...>, Michael Krufky <mkrufky@...>, Chuck Ebbert <cebbert@...>, Domenico Andreoli <cavokz@...>, Willy Tarreau <w@...>, Rodrigo Rubira Branco <rbranco@...>, <torvalds@...>, <akpm@...>, <alan@...>, Bernhard Walle <bwalle@...>, Ingo Molnar <mingo@...>
Subject:
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
Date: Sunday, June 22, 2008 - 4:22 pm
Hi, Greg KH <gregkh@suse.de> writes:
quoted text
> 2.6.25-stable review patch. If anyone has any objections, please let us > know. > > ------------------ > From: Bernhard Walle <bwalle@suse.de> > > commit d3942cff620bea073fc4e3c8ed878eb1e84615ce upstream > > This patch uses the BOOTMEM_EXCLUSIVE for crashkernel reservation also for > i386 and prints a error message on failure. > > The patch is still for 2.6.26 since it is only bug fixing. The unification > of reserve_crashkernel() between i386 and x86_64 should be done for 2.6.27. > > Signed-off-by: Bernhard Walle <bwalle@suse.de> > Signed-off-by: Ingo Molnar <mingo@elte.hu> > Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> > > --- > arch/x86/kernel/setup_32.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > > --- a/arch/x86/kernel/setup_32.c > +++ b/arch/x86/kernel/setup_32.c > @@ -483,10 +483,16 @@ static void __init reserve_crashkernel(v > (unsigned long)(crash_size >> 20), > (unsigned long)(crash_base >> 20), > (unsigned long)(total_mem >> 20)); > + > + if (reserve_bootmem(crash_base, crash_size, > + BOOTMEM_EXCLUSIVE) < 0) { > + printk(KERN_INFO "crashkernel reservation " > + "failed - memory is in use\n"); > + return; > + }
You will also need the patch from
http://lkml.org/lkml/2008/6/21/103
to make sure reserve_bootmem() is not void (*)(). Hannes --
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 0/5] 2.6.25-stable review
, Greg KH
, (Sun Jun 22, 3:01 pm)
Re: [patch 0/5] 2.6.25-stable review
, S.Çağlar
, (Mon Jun 23, 7:19 am)
Re: [stable] [patch 0/5] 2.6.25-stable review
, Greg KH
, (Mon Jun 23, 3:30 pm)
[patch 5/5] x86: set PAE PHYSICAL_MASK_SHIFT to 44 bits.
,
, (Sun Jun 22, 3:01 pm)
[patch 1/5] atl1: relax eeprom mac address error check
, Greg KH
, (Sun Jun 22, 3:01 pm)
[patch 2/5] Reinstate ZERO_PAGE optimization in get_user_pag...
, Greg KH
, (Sun Jun 22, 3:01 pm)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_user...
, Linus Torvalds
, (Sun Jun 22, 3:22 pm)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_user...
, Greg KH
, (Sun Jun 22, 4:29 pm)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_user...
, Jeff Chua
, (Mon Jun 23, 11:32 am)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_user...
, Hugh Dickins
, (Mon Jun 23, 12:04 pm)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_user...
, Linus Torvalds
, (Mon Jun 23, 12:39 pm)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_user...
, Jeff Chua
, (Mon Jun 23, 1:05 pm)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_user...
, Linus Torvalds
, (Mon Jun 23, 1:27 pm)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_user...
, Jeff Chua
, (Mon Jun 23, 2:15 pm)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_user...
, Linus Torvalds
, (Mon Jun 23, 2:32 pm)
[patch 3/5] sctp: Make sure N * sizeof(union sctp_addr) does...
, Greg KH
, (Sun Jun 22, 3:01 pm)
Re: [patch 3/5] sctp: Make sure N * sizeof(union sctp_addr) ...
, David Miller
, (Sun Jun 22, 3:23 pm)
Re: [patch 3/5] sctp: Make sure N * sizeof(union sctp_addr) ...
, Greg KH
, (Sun Jun 22, 4:28 pm)
Re: [patch 3/5] sctp: Make sure N * sizeof(union sctp_addr) ...
, David Miller
, (Mon Jun 23, 5:36 pm)
Re: [patch 3/5] sctp: Make sure N * sizeof(union sctp_addr) ...
, Greg KH
, (Mon Jun 23, 5:43 pm)
[patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Greg KH
, (Sun Jun 22, 3:01 pm)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Johannes Weiner
, (Sun Jun 22, 4:22 pm)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Greg KH
, (Sun Jun 22, 4:30 pm)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Linus Torvalds
, (Sun Jun 22, 4:36 pm)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Ingo Molnar
, (Mon Jun 23, 4:09 am)
Re: [stable] [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Greg KH
, (Mon Jun 23, 3:20 pm)
Re: [stable] [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Ingo Molnar
, (Mon Jun 23, 3:36 pm)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Bernhard Walle
, (Mon Jun 23, 6:33 am)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Ingo Molnar
, (Mon Jun 23, 6:53 am)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Bernhard Walle
, (Mon Jun 23, 9:21 am)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Adrian Bunk
, (Sun Jun 22, 4:36 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
David Chinner
Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.
Andrew Morton
-mm merge plans for 2.6.23
Trent Piepho
Re: [PATCH] [POWERPC] Improve (in|out)_beXX() asm code
git
:
linux-netdev
:
David Miller
Re: iptables very slow after commit784544739a25c30637397ace5489eeb6e15d7d49
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
818 guests
online.
Online users
legogeekynerd11
internetbusine
amazingpsorias
olecom
mtgmktg
Syndicate