login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
9
Re: [discuss] [patch 3/5] Use extended crashkernel command line on x86_64
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@...>, Eric W. Biederman <ebiederm@...>, Vivek Goyal <vgoyal@...>
Cc: <kexec@...>, <linux-arch@...>, <discuss@...>, <linux-kernel@...>
Subject:
Re: [discuss] [patch 3/5] Use extended crashkernel command line on x86_64
Date: Sunday, September 9, 2007 - 1:27 pm
On 9/9/07, Bernhard Walle <bwalle@suse.de> wrote:
quoted text
> This patch removes the crashkernel parsing from > arch/x86_64/kernel/machine_kexec.c and calls the generic function, introduced in > the last patch, in setup_bootmem_allocator(). > > This is necessary because the amount of System RAM must be known in this > function now because of the new syntax. > > > Signed-off-by: Bernhard Walle <bwalle@suse.de> > > > --- > arch/x86_64/kernel/e820.c | 3 ++- > arch/x86_64/kernel/machine_kexec.c | 27 --------------------------- > arch/x86_64/kernel/setup.c | 35 ++++++++++++++++++++++++++++------- > 3 files changed, 30 insertions(+), 35 deletions(-) > > --- a/arch/x86_64/kernel/e820.c > +++ b/arch/x86_64/kernel/e820.c > @@ -226,7 +226,8 @@ void __init e820_reserve_resources(void) > request_resource(res, &code_resource); > request_resource(res, &data_resource); > #ifdef CONFIG_KEXEC
...
quoted text
> --- a/arch/x86_64/kernel/machine_kexec.c > +++ b/arch/x86_64/kernel/machine_kexec.c > @@ -231,33 +231,6 @@ NORET_TYPE void machine_kexec(struct kim > image->start); > } > > -/* crashkernel=size@addr specifies the location to reserve for > - * a crash kernel. By reserving this memory we guarantee > - * that linux never set's it up as a DMA target. > - * Useful for holding code to do something appropriate > - * after a kernel panic. > - */ > -static int __init setup_crashkernel(char *arg) > -{ > - unsigned long size, base; > - char *p; > - if (!arg) > - return -EINVAL; > - size = memparse(arg, &p); > - if (arg == p) > - return -EINVAL; > - if (*p == '@') { > - base = memparse(p+1, &p); > - /* FIXME: Do I want a sanity check to validate the > - * memory range? Yes you do, but it's too early for > - * e820 -AK */ > - crashk_res.start = base; > - crashk_res.end = base + size - 1; > - } > - return 0; > -} > -early_param("crashkernel", setup_crashkernel); > - > void arch_crash_save_vmcoreinfo(void) > { > #ifdef CONFIG_ARCH_DISCONTIGMEM_ENABLE > --- a/arch/x86_64/kernel/setup.c > +++ b/arch/x86_64/kernel/setup.c > @@ -196,6 +196,33 @@ static inline void copy_edd(void) > } > #endif > > +#ifdef CONFIG_KEXEC
... CONFIG_KEXEC or CONFIG_CRASH_DUMP? 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 3/5] Use extended crashkernel command line on x86_64
, Bernhard Walle
, (Sun Sep 9, 4:39 am)
Re: [discuss] [patch 3/5] Use extended crashkernel command l...
, Yinghai Lu
, (Sun Sep 9, 1:27 pm)
Re: [discuss] [patch 3/5] Use extended crashkernel command l...
, Bernhard Walle
, (Sun Sep 9, 2:52 pm)
Re: [discuss] [patch 3/5] Use extended crashkernel command l...
, Vivek Goyal
, (Tue Sep 11, 1:14 am)
Re: [discuss] [patch 3/5] Use extended crashkernel command l...
, Bernhard Walle
, (Tue Sep 11, 6:01 am)
Re: [discuss] [patch 3/5] Use extended crashkernel command l...
, Eric W. Biederman
, (Sun Sep 9, 5:06 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Linux 2.6.21-rc4
Greg Kroah-Hartman
[PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt
Andrew Morton
-mm merge plans for 2.6.23
Stephane Eranian
Re: [PATCH] fix up perfmon to build on -mm
git
:
linux-netdev
:
David Miller
[GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Natalie Protasevich
[BUG] New Kernel Bugs
linux-fsdevel
:
Linus Torvalds
Re: silent semantic changes with reiser4
jim owens
Re: ext4 - getting at birth time (file create time) and getting/setting nanosecond...
Alan Cox
Re: impact of 4k sector size on the IO & FS stack
Peter Zijlstra
Re: + mm-balance_dirty_pages-reduce-calls-to-global_page_state-to-reduce-c ache-re...
Colocation donated by:
Who's online
There are currently
2 users
and
1151 guests
online.
Online users
pepssn2310m
bestelectrictoo
Syndicate