thp: CONFIG_TRANSPARENT_HUGEPAGE
authorAndrea Arcangeli <[email protected]>
Thu, 13 Jan 2011 23:46:39 +0000 (15:46 -0800)
committerLinus Torvalds <[email protected]>
Fri, 14 Jan 2011 01:32:40 +0000 (17:32 -0800)
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]>
mm/Kconfig

index c2c8a4a11898f949faa72cf5702d8c21e64f78b9..3982be2d721a89d442dc5f612787e24253064bce 100644 (file)
@@ -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
 #