login
Login
/
Register
Search
Search this site:
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
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Johannes Weiner
Subject:
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
Date: Sunday, June 22, 2008 - 1: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, 12:01 pm)
[patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Greg KH
, (Sun Jun 22, 12:01 pm)
[patch 3/5] sctp: Make sure N * sizeof(union sctp_addr) do ...
, Greg KH
, (Sun Jun 22, 12:01 pm)
[patch 2/5] Reinstate ZERO_PAGE optimization in get_user_p ...
, Greg KH
, (Sun Jun 22, 12:01 pm)
[patch 1/5] atl1: relax eeprom mac address error check
, Greg KH
, (Sun Jun 22, 12:01 pm)
[patch 5/5] x86: set PAE PHYSICAL_MASK_SHIFT to 44 bits.
, gregkh
, (Sun Jun 22, 12:01 pm)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_us ...
, Linus Torvalds
, (Sun Jun 22, 12:22 pm)
Re: [patch 3/5] sctp: Make sure N * sizeof(union sctp_addr ...
, David Miller
, (Sun Jun 22, 12:23 pm)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Johannes Weiner
, (Sun Jun 22, 1:22 pm)
Re: [patch 3/5] sctp: Make sure N * sizeof(union sctp_addr ...
, Greg KH
, (Sun Jun 22, 1:28 pm)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_us ...
, Greg KH
, (Sun Jun 22, 1:29 pm)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Greg KH
, (Sun Jun 22, 1:30 pm)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Adrian Bunk
, (Sun Jun 22, 1:36 pm)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Linus Torvalds
, (Sun Jun 22, 1:36 pm)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Ingo Molnar
, (Mon Jun 23, 1:09 am)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Bernhard Walle
, (Mon Jun 23, 3:33 am)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Ingo Molnar
, (Mon Jun 23, 3:53 am)
Re: [patch 0/5] 2.6.25-stable review
, S.Çağlar
, (Mon Jun 23, 4:19 am)
Re: [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Bernhard Walle
, (Mon Jun 23, 6:21 am)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_us ...
, Jeff Chua
, (Mon Jun 23, 8:32 am)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_us ...
, Hugh Dickins
, (Mon Jun 23, 9:04 am)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_us ...
, Linus Torvalds
, (Mon Jun 23, 9:39 am)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_us ...
, Jeff Chua
, (Mon Jun 23, 10:05 am)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_us ...
, Linus Torvalds
, (Mon Jun 23, 10:27 am)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_us ...
, Jeff Chua
, (Mon Jun 23, 11:15 am)
Re: [patch 2/5] Reinstate ZERO_PAGE optimization in get_us ...
, Linus Torvalds
, (Mon Jun 23, 11:32 am)
Re: [stable] [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Greg KH
, (Mon Jun 23, 12:20 pm)
Re: [stable] [patch 0/5] 2.6.25-stable review
, Greg KH
, (Mon Jun 23, 12:30 pm)
Re: [stable] [patch 4/5] x86: use BOOTMEM_EXCLUSIVE on 32-bit
, Ingo Molnar
, (Mon Jun 23, 12:36 pm)
Re: [patch 3/5] sctp: Make sure N * sizeof(union sctp_addr ...
, David Miller
, (Mon Jun 23, 2:36 pm)
Re: [patch 3/5] sctp: Make sure N * sizeof(union sctp_addr ...
, Greg KH
, (Mon Jun 23, 2:43 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michael Trimarchi
Re: [PATCH] VFS: make file->f_pos access atomic on 32bit arch
Miklos Szeredi
[patch 14/15] vfs: more path_permission() conversions
Serge E. Hallyn
Re: [RFC v5][PATCH 7/8] Infrastructure for shared objects
Bernd Schmidt
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Takashi Iwai
[PATCH 2/2] input: Add LED support to Synaptics device
git
:
Junio C Hamano
Re: mingw, windows, crlf/lf, and git
Eyvind Bernhardsen
Re: Where has "git ls-remote" reference pattern matching gone?
Shawn O. Pearce
Re: Switching from CVS to GIT
Todd Zullinger
Re: [PATCH 2/2] send-email: rfc2047-quote subject lines with non-ascii characters
Santi Béjar
Re: How to use git-fmt-merge-msg?
linux-netdev
:
Ramkrishna Vepa
[net-2.6 PATCH 1/10] Neterion: New driver: Driver help file
Mark Anthony
invitation / inquiry
Ingo Molnar
Re: [PATCH 08/16] dma-debug: add core checking functions
David Miller
Re: [PATCH 1/3] f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
Sascha Hauer
[PATCH 03/12] fec: do not typedef struct types
git-commits-head
:
Linux Kernel Mailing List
amba: struct device - replace bus_id with dev_name(), dev_set_name()
Linux Kernel Mailing List
MIPS: Yosemite: Convert SMP startup lock to arch spinlock.
Linux Kernel Mailing List
ARM: S5PC100: IRQ and timer
Linux Kernel Mailing List
davinci: edma: clear interrupt status for interrupt enabled channels only
Linux Kernel Mailing List
x86, mm, kprobes: fault.c, simplify notify_page_fault()
openbsd-misc
:
Daniel A. Ramaley
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Matthias Kilian
Re: can't get vesa @ 1280x800 or nv
Tobias Ulmer
Re: Problem after upgrade 4.5 to 4.6: ERR M
Philip Guenther
Re: SIGCHLD and libpthread.so
J.C. Roberts
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Colocation donated by:
Syndicate