[lkml]   [2009]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] x86: put initial_pg_tables into .bss -v4
H. Peter Anvin wrote:
> Yinghai Lu wrote:
>> Impact: cleanup
>> Don't use ram after _end blindly for pagetables. aka init pages is before _end
>> put those pg table into .bss
>> v2: keep initial page table up to 512M only.
>> v4: put initial page tables just before _end
>> Signed-off-by: Yinghai Lu <>
> I still feel that this is a movement in *EXACTLY* the wrong direction,
> as it is deliberately intended to prevent a general allocator for
> anything that needs to be dynamic very early on. I still think that
> makes a lot more sense.

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.


 \ /
  Last update: 2009-03-09 18:39    [W:0.057 / U:0.076 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site