Skip to content

Commit 837e7b6

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 954129f commit 837e7b6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

arch/arm64/configs/bcm2711_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ CONFIG_MAC_PARTITION=y
8686
CONFIG_BINFMT_MISC=m
8787
CONFIG_ZSWAP=y
8888
# CONFIG_COMPAT_BRK is not set
89+
CONFIG_TRANSPARENT_HUGEPAGE=y
90+
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
8991
CONFIG_CMA=y
9092
CONFIG_CMA_AREAS=7
9193
CONFIG_LRU_GEN=y

arch/arm64/configs/bcm2712_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ CONFIG_MAC_PARTITION=y
8989
CONFIG_BINFMT_MISC=m
9090
CONFIG_ZSWAP=y
9191
# CONFIG_COMPAT_BRK is not set
92+
CONFIG_TRANSPARENT_HUGEPAGE=y
93+
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
9294
CONFIG_CMA=y
9395
CONFIG_CMA_AREAS=7
9496
CONFIG_LRU_GEN=y

0 commit comments

Comments
 (0)