From: Linus Torvalds Date: Tue, 13 Dec 2005 00:24:33 +0000 (-0800) Subject: get_user_pages: don't try to follow PFNMAP pages X-Git-Tag: v2.6.15-rc6~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ff8038988adecfde71d82c0597727fc239d4e8c;p=pandora-kernel.git 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 --- Reading git-diff-tree failed