[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <49B7164E.3020505@goop.org>
Date: Tue, 10 Mar 2009 18:39:26 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: "H. Peter Anvin" <hpa@...or.com>
CC: Yinghai Lu <yinghai@...nel.org>, Ingo Molnar <mingo@...e.hu>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: put initial_pg_tables into .bss -v4
H. Peter Anvin wrote:
> Yinghai Lu wrote:
>
>> it just estimates initial_pg_tables size, and make _end a little bigger (1M), so boot loader could have idea of correct size of vmlinux aka the uncompressed size of in kernel.
>>
>> I assume brk patches could estimate the extra size that it needs too.
>>
>>
>
> Yes, and I have made that point several times in this thread already.
>
> I really like the brk interface because it's a clean, general-purpose
> allocator.
>
> We can create a brk segment in vmlinux (and even bound the brk to catch
> overflows, instead of randomly failing) to advertise the presence of the
> brk.
>
I have a patchset to do exactly this in testing; I'll try to mail it out
later this evening. Its very similar (including reserving 1MB after the
end of the bss variables, in the bss section).
J
--
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