On Fri, 30 Nov 2012 16:13:16 +0900 Kamezawa Hiroyuki 
<kamezawa.hir...@jp.fujitsu.com> wrote:

> > What about futexes?
> >
> 
> IIUC, futex's key is now a pair of (mm,address) or (inode, pgoff).
> Then, get_user_page() in futex.c will release the page by put_page().
> 'struct page' is just touched by get_futex_key() to obtain page->mapping info.

Ah yes, that page is unpinned before syscall return.

        grep -rl get_user_pages .

Gad.

These should be audited.  The great majority will be simple and OK,
but drivers/media, drivers/infiniband and net/rds could be problematic.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
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