mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
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>
This commit is contained in:
parent
59ff421631
commit
4c76d9d1fb
14
mm/Kconfig
14
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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user