arm64: defconfig: enable default THP configurations
authorSung-hun Kim <sfoon.kim@samsung.com>
Mon, 30 Aug 2021 06:15:54 +0000 (15:15 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 7 Feb 2022 08:01:41 +0000 (17:01 +0900)
Enable default THP in Linux.
With this configuration, the Linux kernel can make 2MB hugepages
without user intervention.

Change-Id: Ifdfc472a78edf76be32c359b2b15c0ca28a2bc8b
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
arch/arm64/configs/tizen_bcm2711_defconfig

index 3e5d01f..be67be5 100644 (file)
@@ -62,10 +62,12 @@ CONFIG_MAC_PARTITION=y
 CONFIG_BINFMT_MISC=m
 CONFIG_LKSM=y
 CONFIG_LKSM_FILTER=y
+CONFIG_TRANSPARENT_HUGEPAGE=y
 CONFIG_CLEANCACHE=y
 CONFIG_FRONTSWAP=y
 CONFIG_CMA=y
 CONFIG_ZSMALLOC=y
+CONFIG_READ_ONLY_THP_FOR_FS=y
 CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y