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)
commit8bfa3f9a012c4049f3d661f7a772cd9c27a7da99
tree2480ec824edeaf1240c5a2558ec5afe2976a40a8
parentc69ded84a968e8ecc529b4de68522e4a2dcbf92a
mm/huge_memory.c: fix stale comments of transparent_hugepage_flags

Since commit 13ece886d99c ("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 d39d33c332c6 ("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