Re: Reserving a (large) memory block

From: Ingo Molnar (mingo@elte.hu)
Date: Thu Aug 31 2000 - 07:09:48 EST


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/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:27 EST