Re: [PATCH/RFC] SPI core: turn transfers to be linked list

From: Vitaly Wool
Date: Mon Dec 19 2005 - 15:02:46 EST


Greg KH wrote:

On Mon, Dec 19, 2005 at 10:49:11AM +0300, Vitaly Wool wrote:


The problem is: we're using real-time enhancements patch developed by Ingo/Sven/Daniel etc. You cannot call kmalloc from the interrupt context if you're using this patch.



So you can't even call:
kmalloc(sizeof(foo), GFP_ATOMIC);
in an interrupt anymore?
If so, that's going to break mainline pretty bad...


Don't think it will... Since most of the interrupts will work in threads pretty well... and it's np to alloc memory from threads.

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