On Wed, Mar 14, 2007 at 03:19:21PM -0700, Davide Libenzi wrote:
> +     /*
> +      * Check if the user asked us to deliver the result through an
> +      * asyncfd. Note that asyncfd_add_results() may sleep. It seems
> +      * OK looking at the code, but I'm not sure since inside a USB driver,
> +      * aio_complete() is called with a spinlock held. !!CHECK
> +      */

That won't work.  aio_complete() is supposed to be irq safe.

                -ben
-- 
"Time is of no importance, Mr. President, only life is important."
Don't Email: <[EMAIL PROTECTED]>.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to