[lkml]   [2003]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Tasklet doubt!
    On Fri, Apr 11, 2003 at 09:49:01PM +0530, Sriram Narasimhan wrote:
    > Hello,
    > How much of memory can be allocated from a tasklet ? [ kmalloc
    > (GFP_ATOMIC) ].
    > I was able to allocate upto 2.5 MB. But I would like to allocate upto
    > 8MB. Is this possible?

    You don't want to do that :) You're starving other GFP_ATOMIC
    processes, and will increase system failures due to lack of memory...
    even though there may be plenty outside the emergency pools.

    One option is to create a background kernel thread (via schedule_task or
    schedule_work, depending on your kernel version) that allocates memory
    which your tasklet then takes.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:34    [W:0.025 / U:5.456 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site