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:46, Richard B. Johnson wrote:

> You only need GFP_ATOMIC for stuff allocated and freed when the
> interrupts are off like in ISRs.

Not just when the interrupts are off but whenever you cannot sleep.

In most interrupt handlers, interrupts are enabled anyhow (except the
current line which is masked out -- but the interrupt system itself is
on i.e. sti is set). But they cannot sleep.

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.042 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site