[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D0AB78A.2050608@zytor.com>
Date: Thu, 16 Dec 2010 17:06:18 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Yinghai Lu <yinghai@...nel.org>
CC: Vivek Goyal <vgoyal@...hat.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Stanislaw Gruszka <sgruszka@...hat.com>,
Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
Maxim Uvarov <muvarov@...il.com>, linux-kernel@...r.kernel.org,
Neil Horman <nhorman@...hat.com>,
Jeremy Fitzhardinge <jeremy@...p.org>
Subject: Re: kdump broken on 2.6.37-rc4
On 12/16/2010 04:39 PM, Yinghai Lu wrote:
>
> and use that to estimate BRK size.
>
> so we could change the BRK calculating code to handle 896M or just limit crashkernel for 32bit to 512M...
>
> handle 896M one:
>
Grmf... this was originally 4 GiB, but someone tried to tighten the
bound. I think we should set it back to 4 GiB; 896 MiB is still
approximate.
Oh yes, this isn't how to write this, either...
> + * to make crashkernel bzImage to stay high, make it map to 896M
> + * but it will be claimed back when brk is concluded. So no wasting.
> */
> -KERNEL_PAGES = (KERNEL_IMAGE_SIZE + MAPPING_BEYOND_END)>>PAGE_SHIFT
> +KERNEL_PAGES = (KERNEL_IMAGE_SIZE + (384<<20) + MAPPING_BEYOND_END)>>PAGE_SHIFT
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
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