Messages in this thread | | | Date | Sat, 8 Jan 2000 20:44:09 +0000 | From | Jamie Lokier <> | Subject | Re: getting contiguous physical memory |
| |
Frederick Barnes wrote: > I've been trying to install the bigphysarea stuff in > the 2.3.36 kernel. However, the memory management > has changed somewhat and memory_{start,end} no longer > exist. What's the new strategy for getting n contigous > pages at boot time (and a pointer to the start in the > kernels address space) ?
#include <linux/bootmem.h>
alloc_bootmem(size) alloc_bootmem_low(size) for GFP_DMA pages
Also alloc_bootmem_pages, alloc_bootmem_low_pages. I don't think you need a patch any more.
have a nice day, -- Jamie
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |