Messages in this thread | | | Date | Wed, 11 Mar 2009 22:44:19 -0400 | From | Benjamin LaHaise <> | Subject | Re: [patch] aio: remove aio-max-nr and instead use the memlock rlimit to limit the number of pages pinned for the aio completion ring |
| |
On Thu, Mar 12, 2009 at 03:39:51AM +0100, Eric Dumazet wrote: > Assuming that __fput() cannot be called from interrupt context. > -> fput() should not be called from interrupt context as well.
It doesn't get called in irq context. The atomic dec is done in irq context, and if that is the last user of the file descriptor, it's placed on a work queue and then released in process context.
-ben
| |