lkml.org 
[lkml]   [2009]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: put initial_pg_tables into bss -v2
H. Peter Anvin wrote:
> Yinghai Lu wrote:
>> Impact: cleanup
>>
>> Don't use ram after _end blindly for pagetables.
>> put those pg table into bss
>>
>> also remove init_pg_tables_start/end tricks all around
>>
>> v2: keep initial page table up to 512M only.
>>
>
> I really, REALLY, don't like this. This is going right back to the
> situation which we had before the dynamically generated page tables. We
> now have yet another hardcoded limit, and big chunk of wasted memory in
> case we don't need to allocate it all.

that limit is there in for 64 too. aka 512M direct mapping. (need 1Mbytes space for page tables)

we can get rid of that limit: with careful link sequence to make sure that code init_memory_mapping and before is some fixed range.

YH


\
 
 \ /
  Last update: 2009-03-01 18:53    [W:0.447 / U:0.124 seconds]
©2003-2011 Jasper Spaans. Advertise on this site