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