diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2005-11-24 14:16:15 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-09 14:50:28 +1100 |
commit | 456752f7505ef8f580ffd157558e661da2767d99 (patch) | |
tree | 8854e9dd2d21ac440f691dd16881e596db61896b /arch/powerpc/kernel/smp.c | |
parent | 706e6b2caf285d3eb056c2847b7c53ae823e8a87 (diff) |
[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 <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions