Re: [PATCH] __free_pages_ok oops

From: Benjamin LaHaise (bcrl@redhat.com)
Date: Sat Feb 09 2002 - 09:33:05 EST


On Fri, Feb 08, 2002 at 05:46:56PM +0000, Hugh Dickins wrote:
> Ben, you probably have an AIO opinion here. Is there a circumstance
> in which AIO can unpin a user page at interrupt time, after the
> calling task has (exited or) unmapped the page?

If the user unmaps the page, then aio is left holding the last reference
to the page and will unmap it from irq or bh context (potentially task
context too). With networked aio, pages from userspace (anonymous or
page cache pages) will be released by the network stack from bh context.
Even now, I'm guess that should be possible with the zero copy flag...

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



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:26 EST