commit | 1ff8038988adecfde71d82c0597727fc239d4e8c | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@g5.osdl.org> | Mon Dec 12 16:24:33 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Dec 12 16:24:33 2005 -0800 |
tree | a592cbfad237a5e373724918a0cc17ee9c421237 | |
parent | 14ee0a1414536d27bc29373bf23c106b8ef8ce0b [diff] |
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: Linus Torvalds <torvalds@osdl.org>