]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/huge_memory.c: fix stale comments of transparent_hugepage_flags
authorJianguo Wu <wujianguo@huawei.com>
Tue, 5 Nov 2013 05:55:26 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:26 +0000 (16:55 +1100)
commit489a52658833c3b4372717df17d0c71a652601d2
tree302096e678380d9c931170bd8fa680a714e1f85f
parent25c0a67de18da7f24cedd86e2091e17f3f98a779
mm/huge_memory.c: fix stale comments of transparent_hugepage_flags

Since commit 13ece886d9 ("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 d39d33c332 ("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>
mm/huge_memory.c