[PATCH] x86_64: When checking vmalloc mappings don't use pte_page
authorAndi Kleen <ak@suse.de>
Tue, 17 May 2005 04:53:31 +0000 (21:53 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 14:59:15 +0000 (07:59 -0700)
commit3b9ba4d5e23fcab24dd4d2e46dce11f5863869b4
tree341d4d700cc86b7cfb5343a5ca2a9aed4807e01e
parentf6b8d4778c04148729cc0b0dcd335a4411c44276
[PATCH] x86_64: When checking vmalloc mappings don't use pte_page

The PTEs can point to ioremap mappings too, and these are often outside
mem_map.  The NUMA hash page lookup functions cannot handle out of bounds
accesses properly.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/fault.c