lkml.org 
[lkml]   [2003]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Tasklet doubt!
From
Date
On Fri, 2003-04-11 at 12:19, Sriram Narasimhan wrote:

> How much of memory can be allocated from a tasklet ? [ kmalloc
> (GFP_ATOMIC) ].

It depends. Asking for 2.5MB of GFP_ATOMIC is a lot.

Perhaps you should use the keventd task queue, which runs in process
context and thus sleeps. You can allocate using kmalloc(GFP_KERNEL) or
even vmalloc().

Robert Love

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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