mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
thp: add x86 32bit support
Add support for transparent hugepages to x86 32bit. Share the same VM_ bitflag for VM_MAPPED_COPY. mm/nommu.c will never support transparent hugepages. Signed-off-by: Johannes Weiner <[email protected]> Signed-off-by: Andrea Arcangeli <[email protected]> Reviewed-by: Rik van Riel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5f24ce5fd3
commit
f2d6bfe9ff
7 changed files with 156 additions and 115 deletions
|
|
@ -304,7 +304,7 @@ config NOMMU_INITIAL_TRIM_EXCESS
|
|||
|
||||
config TRANSPARENT_HUGEPAGE
|
||||
bool "Transparent Hugepage Support" if EMBEDDED
|
||||
depends on X86_64 && MMU
|
||||
depends on X86 && MMU
|
||||
default y
|
||||
help
|
||||
Transparent Hugepages allows the kernel to use huge pages and
|
||||
|
|
|
|||
Loading…
Reference in a new issue