]> git.baikalelectronics.ru Git - kernel.git/commit
mm/huge_memory.c: fix stale comments of transparent_hugepage_flags
authorJianguo Wu <wujianguo@huawei.com>
Tue, 12 Nov 2013 23:07:16 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:03 +0000 (12:09 +0900)
commit966ebf54f040c3e88b4d6f07ad64b4e2955dffeb
tree2480ec824edeaf1240c5a2558ec5afe2976a40a8
parentb8481a6f36ec34c915184b3cc29088e2688b8671
mm/huge_memory.c: fix stale comments of transparent_hugepage_flags

Since commit 1c04dc189b34 ("thp: transparent hugepage config choice"),
transparent hugepage support is disabled by default, and
TRANSPARENT_HUGEPAGE_ALWAYS is configured when TRANSPARENT_HUGEPAGE=y.

And since commit 11463897ad61 ("thp: enable direct defrag"), defrag is
enable for all transparent hugepage page faults by default, not only in
MADV_HUGEPAGE regions.

Signed-off-by: Jianguo Wu <wujianguo@huawei.com>
Reviewed-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/huge_memory.c