lkml.org 
[lkml]   [2000]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Reserving a (large) memory block

On Thu, 31 Aug 2000, Alan Cox wrote:

> We then just follow the bios. You can also reserve blocks of memory by
> hacking arch/i386/mm/init.c and marking them reserved

in 2.4 there is an explicit interface for this that also guarantees that
the allocation consists of fully valid RAM (no matter how complex the RAM
map): alloc_bootmem(). We allocate 300MB+ worth of mem_map[] with this on
multi-gigabyte boxes.

Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.052 / U:0.780 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site