lkml.org 
[lkml]   [2009]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: put initial_pg_tables into .bss -v4
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.

-hpa



\
 
 \ /
  Last update: 2009-03-09 19:31    [W:0.117 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site