]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: use vm_unmapped_area() in hugetlbfs on i386 architecture
authorMichel Lespinasse <walken@google.com>
Thu, 29 Nov 2012 03:17:16 +0000 (14:17 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:05 +0000 (16:23 +1100)
commite4c0422c59e81c24438bbcb2c2e9c008adf5a970
tree50bf2cba91165416a2c9e98a97e77a5d21714372
parent91d1b96e4c9675f60fade9c5ab8c12e1aba84ab7
mm: use vm_unmapped_area() in hugetlbfs on i386 architecture

Update the i386 hugetlb_get_unmapped_area function to make use of
vm_unmapped_area() instead of implementing a brute force search.

Signed-off-by: Michel Lespinasse <walken@google.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/mm/hugetlbpage.c