mm, thp: hide remap_try_huge_pmd for the THP-disabled kernel 65/264265/1 accepted/tizen/unified/20210916.005836 submit/tizen/20210915.075337 submit/tizen/20210915.095105
authorSung-hun Kim <sfoon.kim@samsung.com>
Wed, 15 Sep 2021 07:39:13 +0000 (16:39 +0900)
committerSung-hun Kim <sfoon.kim@samsung.com>
Wed, 15 Sep 2021 07:47:08 +0000 (16:47 +0900)
commitbe97c7c0fb8de0bc2dfc7bf82bf02bcc11142ae0
treee078a21c411fdb8d51dcaa450ea40f08cfbe2ccb
parent93cdd04abf4b2522392f658de1ed35a602c0e945
mm, thp: hide remap_try_huge_pmd for the THP-disabled kernel

Since remap_try_huge_pmd is dependent on the kernel
configuration CONFIG_TRANSPARENT_HUGEPAGE, it should be
hidden when the kernel configuration is disabled.

Fixes: 8690fa3fc22a ('mm, meminfo: modify page counting')
Change-Id: Iae9efb2edf6cd563c794af68bea7987110a5b2da
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
mm/memory.c