diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2011-01-13 18:47:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 20:32:44 -0500 |
commit | f2d6bfe9ff0acec30b713614260e78b03d20e909 (patch) | |
tree | 835dd9f4167513d94ae542cf92347ea98bff5ddc /mm/Kconfig | |
parent | 5f24ce5fd34c3ca1b3d10d30da754732da64d5c0 (diff) |
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 <hannes@cmpxchg.org>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index 3982be2d721a..d774f77538ce 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
@@ -304,7 +304,7 @@ config NOMMU_INITIAL_TRIM_EXCESS | |||
304 | 304 | ||
305 | config TRANSPARENT_HUGEPAGE | 305 | config TRANSPARENT_HUGEPAGE |
306 | bool "Transparent Hugepage Support" if EMBEDDED | 306 | bool "Transparent Hugepage Support" if EMBEDDED |
307 | depends on X86_64 && MMU | 307 | depends on X86 && MMU |
308 | default y | 308 | default y |
309 | help | 309 | help |
310 | Transparent Hugepages allows the kernel to use huge pages and | 310 | Transparent Hugepages allows the kernel to use huge pages and |