diff options
| author | Andrea Arcangeli <aarcange@redhat.com> | 2011-01-13 18:46:39 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 20:32:40 -0500 |
| commit | 4c76d9d1fb9b21fa10c9e4c1fab2875018a88aa1 (patch) | |
| tree | a7186c416e3fc0451702b42051e4b91dc3893f3f /mm/Kconfig | |
| parent | 59ff421631295cd54dbf75dcc53d27e84af6d9c0 (diff) | |
thp: CONFIG_TRANSPARENT_HUGEPAGE
Add config option.
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig')
| -rw-r--r-- | mm/Kconfig | 14 |
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 | |||
| 302 | 302 | ||
| 303 | See Documentation/nommu-mmap.txt for more information. | 303 | See Documentation/nommu-mmap.txt for more information. |
| 304 | 304 | ||
| 305 | config TRANSPARENT_HUGEPAGE | ||
| 306 | bool "Transparent Hugepage Support" if EMBEDDED | ||
| 307 | depends on X86_64 && MMU | ||
| 308 | default y | ||
| 309 | help | ||
| 310 | Transparent Hugepages allows the kernel to use huge pages and | ||
| 311 | huge tlb transparently to the applications whenever possible. | ||
| 312 | This feature can improve computing performance to certain | ||
| 313 | applications by speeding up page faults during memory | ||
| 314 | allocation, by reducing the number of tlb misses and by speeding | ||
| 315 | up the pagetable walking. | ||
| 316 | |||
| 317 | If memory constrained on embedded, you may want to say N. | ||
| 318 | |||
| 305 | # | 319 | # |
| 306 | # UP and nommu archs use km based percpu allocator | 320 | # UP and nommu archs use km based percpu allocator |
| 307 | # | 321 | # |
