[PATCH] numa_maps: Fix potential crash on non IA64 platforms
authorChristoph Lameter <clameter@engr.sgi.com>
Thu, 2 Mar 2006 10:54:37 +0000 (02:54 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 2 Mar 2006 16:33:07 +0000 (08:33 -0800)
commita57ebfdb2cf9fa60dfa2f403f70ef6c432ca2a62
tree1597343f3e9c076fa37ceb2c6442cc9e3ca44656
parent685db65e422bfa523b8a9dacb5a658b42b254f05
[PATCH] numa_maps: Fix potential crash on non IA64 platforms

numa_maps should not scan over huge vmas in order not to cause problems for
non IA64 platforms that may have pte entries pointing to huge pages in a
variety of ways in their page tables.  Add a simple check to ignore vmas
containing huge pages.

Signed-off-by: Christoph Lameter <clameter@engr.sgi.com>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c