Skip to content

Commit f3f8fd9

Browse files
committed
configs: Enable TRANSPARENT_HUGEPAGE_MADVISE
Upstream v3d patches are adding support for big (64K) and super (1MB) pages, which require these options. See: https://lore.kernel.org/dri-devel/[email protected]/ There are also some potential performance benefits linked from: #6297 Signed-off-by: Dom Cobley <[email protected]>
1 parent 0094eba commit f3f8fd9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: arch/arm64/configs/bcm2711_defconfig

+2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ CONFIG_BINFMT_MISC=m
7777
CONFIG_ZSWAP=y
7878
CONFIG_Z3FOLD=m
7979
# CONFIG_COMPAT_BRK is not set
80+
CONFIG_TRANSPARENT_HUGEPAGE=y
81+
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
8082
CONFIG_CMA=y
8183
CONFIG_LRU_GEN=y
8284
CONFIG_LRU_GEN_ENABLED=y

Diff for: arch/arm64/configs/bcm2712_defconfig

+2
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ CONFIG_BINFMT_MISC=m
8080
CONFIG_ZSWAP=y
8181
CONFIG_Z3FOLD=m
8282
# CONFIG_COMPAT_BRK is not set
83+
CONFIG_TRANSPARENT_HUGEPAGE=y
84+
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
8385
CONFIG_CMA=y
8486
CONFIG_LRU_GEN=y
8587
CONFIG_LRU_GEN_ENABLED=y

0 commit comments

Comments
 (0)