lkml.org 
[lkml]   [2000]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2005-03-22 13:55    [W:4.516 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site