Re: [PATCH] aio: aio_complete() will never be called in interrupt context

From: Jeff Moyer
Date: Fri Jun 27 2008 - 09:12:15 EST


Nikanth Karthikesan <knikanth@xxxxxxx> writes:

> aio_complete() is never called from interrupt context. It is called from user
> context or worker threads. Remove disabling interrupts and for kmap_atomic use
> KM_USER slots instead of KM_IRQ slots.

Actually, it can be called from softirq context. See fs/directio.c.

Cheers,

Jeff
--
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/