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.
...

>
> No, this is garbage. If you're insisting on getting rid of the brk-like
> allocation patterns, then you have to get an alternative dynamic
> allocator available to the pre-paging code. Now, there is no reason we
> couldn't execute C code before enabling paging, although the code would
> either have to be PIC or linked at the physical address.

you can use find_e820_area()/reserve_early() pair to find right position for that.

YH


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