From: David Gibson Date: Thu, 24 Nov 2005 03:16:15 +0000 (+1100) Subject: [PATCH] powerpc: Make hugepage mappings respect hint addresses X-Git-Tag: v2.6.16-rc1~666^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=456752f7505ef8f580ffd157558e661da2767d99;p=pandora-kernel.git [PATCH] powerpc: Make hugepage mappings respect hint addresses Currently, the powerpc version of hugetlb_get_unmapped_area() entirely ignores the hint address. The only way to get a hugepage mapping at a specified address is with MAP_FIXED, in which case there's no way (short of parsing /proc/self/maps) for userspace to tell if it will clobber an existing mapping. This is inconvenient, so the patch below makes hugepage mappings use the given hint address if possible. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed