lkml.org 
[lkml]   [2009]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 07/10] bootmem: add free_bootmem_late
On Sun, Nov 08, 2009 at 10:57:19AM +0100, Ingo Molnar wrote:

> Page tables is the main dependency. x86 boots with a limited set of page
> tables, the real ones are set up later.
>
> We'd need to see what bootmem allocations are done before page table
> init in practice. I think i did such tests a few years ago and i think
> it's rather limited (if it happens at all).
>
> If that's mapped out we can just convert x86 to an 'emulated' bootmem
> allocator: buddy and slab is set up right when pagetables are set up,
> and bootmem can just use kmalloc.

That sounds like a good idea. But keep in mind that support for 1GB
pages currently depends on the bootmem allocator because the buddy
system can not allocate 1GB of physically contiguous memory.
But I think this could also be handled from x86 arch code without the
bootmem allocator.

Joerg




\
 
 \ /
  Last update: 2009-11-16 11:29    [W:0.068 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site