Skip to content
Commit 1ff80389 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

get_user_pages: don't try to follow PFNMAP pages



Nick Piggin points out that a few drivers play games with VM_IO (why?
who knows..) and thus a pfn-remapped area may not have that bit set even
if remap_pfn_range() set it originally.

So make it explicit in get_user_pages() that we don't follow VM_PFNMAP
pages, since pretty much by definition they do not have a "struct page"
associated with them.

Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 14ee0a14
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment