lkml.org 
[lkml]   [2000]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: the new VMt
    On Mon, 25 Sep 2000, Alexander Viro wrote:
    > On Mon, 25 Sep 2000, Ingo Molnar wrote:
    > > yep, i agree. I'm not sure what the biggest allocation is, some drivers
    > > might use megabytes or contiguous RAM?

    > Stupidity has no limits...

    Blame the hardware designers... and give me my big allocations. :)

    Sounds drivers (not mine though, <g>) do stuff like

    order = 20; /* just a made-up high number*/
    while ((order-- > 0) && (mem == NULL)) {
    mem = __get_free_pages (GFP_KERNEL, order);
    }
    /* use sound buffer 'mem' */

    Older or modern, less-than-cool framegrabbers need tons of contiguous
    memory too...

    Jeff



    -
    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:39    [W:0.021 / U:0.212 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site