aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Arcangeli <[email protected]>2011-01-13 15:46:39 -0800
committerLinus Torvalds <[email protected]>2011-01-13 17:32:40 -0800
commit4c76d9d1fb9b21fa10c9e4c1fab2875018a88aa1 (patch)
treea7186c416e3fc0451702b42051e4b91dc3893f3f
parent59ff421631295cd54dbf75dcc53d27e84af6d9c0 (diff)
thp: CONFIG_TRANSPARENT_HUGEPAGE
Add config option. Signed-off-by: Andrea Arcangeli <[email protected]> Acked-by: Rik van Riel <[email protected]> Acked-by: Mel Gorman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index c2c8a4a11898..3982be2d721a 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -302,6 +302,20 @@ config NOMMU_INITIAL_TRIM_EXCESS
See Documentation/nommu-mmap.txt for more information.
+config TRANSPARENT_HUGEPAGE
+ bool "Transparent Hugepage Support" if EMBEDDED
+ depends on X86_64 && MMU
+ default y
+ help
+ Transparent Hugepages allows the kernel to use huge pages and
+ huge tlb transparently to the applications whenever possible.
+ This feature can improve computing performance to certain
+ applications by speeding up page faults during memory
+ allocation, by reducing the number of tlb misses and by speeding
+ up the pagetable walking.
+
+ If memory constrained on embedded, you may want to say N.
+
#
# UP and nommu archs use km based percpu allocator
#