Messages in this thread | | | Subject | Re: Tasklet doubt! | From | Robert Love <> | Date | 11 Apr 2003 12:31:42 -0400 |
| |
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/
| |