Skip to content

Commit

Permalink
thp: CONFIG_TRANSPARENT_HUGEPAGE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrea Arcangeli authored and Linus Torvalds committed Jan 14, 2011
1 parent 59ff421 commit 4c76d9d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit 4c76d9d

Please sign in to comment.