diff options
author | Becky Bruce <beckyb@kernel.crashing.org> | 2011-06-28 05:54:48 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-09-19 19:19:40 -0400 |
commit | 41151e77a4d96ea138cede6d84c955aa4769ce74 (patch) | |
tree | 2d997b77b9adf406a2fd30326bff688577d2e64f /arch/powerpc/Kconfig | |
parent | 7df5659eefad9b6d457ccdee016bd78bd064cfc0 (diff) |
powerpc: Hugetlb for BookE
Enable hugepages on Freescale BookE processors. This allows the kernel to
use huge TLB entries to map pages, which can greatly reduce the number of
TLB misses and the amount of TLB thrashing experienced by applications with
large memory footprints. Care should be taken when using this on FSL
processors, as the number of large TLB entries supported by the core is low
(16-64) on current processors.
The supported set of hugepage sizes include 4m, 16m, 64m, 256m, and 1g.
Page sizes larger than the max zone size are called "gigantic" pages and
must be allocated on the command line (and cannot be deallocated).
This is currently only fully implemented for Freescale 32-bit BookE
processors, but there is some infrastructure in the code for
64-bit BooKE.
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 0a3d5560c9be..62711421cd64 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -429,8 +429,7 @@ config ARCH_POPULATES_NODE_MAP | |||
429 | def_bool y | 429 | def_bool y |
430 | 430 | ||
431 | config SYS_SUPPORTS_HUGETLBFS | 431 | config SYS_SUPPORTS_HUGETLBFS |
432 | def_bool y | 432 | bool |
433 | depends on PPC_BOOK3S_64 | ||
434 | 433 | ||
435 | source "mm/Kconfig" | 434 | source "mm/Kconfig" |
436 | 435 | ||