lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080715002052.GA2123@joejin-pc.cn.oracle.com>
Date:	Tue, 15 Jul 2008 08:20:52 +0800
From:	Joe Jin <joe.jin@...cle.com>
To:	Yinghai Lu <yhlu.kernel@...il.com>
Cc:	Greg KH <greg@...ah.com>, stable@...nel.org,
	Joe Jin <joe.jin@...cle.com>, Ingo Molnar <mingo@...e.hu>,
	Greg Kroah-Hartman <gregkh@...e.de>, greg.marsden@...cle.com,
	linux-kernel@...r.kernel.org, Andi Kleen <andi@...stfloor.org>,
	"H. Peter Anvin" <hpa@...or.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Thomas Gleixner <tglx@...utronix.de>, tao.ma@...cle.com
Subject: Re: [PATCH] x86_64: reserve crashkernel bootmem before reserve dma32 bootmem

Yinghai, thanks!


On 2008-07-14 10:16, Yinghai Lu wrote:
> From: Joe Jin <joe.jin@...cle.com>
> 
> Before reserve_crashkernel, dma32_reserve_bootmem would reserve 128M memory.
> this cuased crashkernel end address must less than 64M or start address must
> more than 192M except crashkernel memory reserved before dma32 memory reserved.
> 
> Signed-off-by: Joe Jin <joe.jin@...cle.com>
> Acked-by: Yinghai Lu <yhlu.kernel@...il.com>
> Acked-by: Ingo Molnar <mingo@...e.hu>
> 
> 
> ---
>  arch/x86/kernel/setup_64.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Index: linux-2.6/arch/x86/kernel/setup_64.c
> ===================================================================
> --- linux-2.6.orig/arch/x86/kernel/setup_64.c
> +++ linux-2.6/arch/x86/kernel/setup_64.c
> @@ -444,8 +444,6 @@ void __init setup_arch(char **cmdline_p)
>  	contig_initmem_init(0, end_pfn);
>  #endif
>  
> -	dma32_reserve_bootmem();
> -
>  #ifdef CONFIG_ACPI_SLEEP
>  	/*
>  	 * Reserve low memory region for sleep support.
> @@ -486,6 +484,8 @@ void __init setup_arch(char **cmdline_p)
>  #endif
>  	reserve_crashkernel();
>  
> +	dma32_reserve_bootmem();
> +
>  	reserve_ibft_region();
>  
>  	paging_init();
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ