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 <[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]>
  • Loading branch information
aagit authored and 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.