Skip to content

Commit

Permalink
configs: Enable TRANSPARENT_HUGEPAGE_MADVISE
Browse files Browse the repository at this point in the history
Upstream v3d patches are adding support for big (64K) and super (1MB) pages,
which require these optons. See:
https://lore.kernel.org/dri-devel/[email protected]/

There are also some potential performance benefits linked from:
raspberrypi#6297

Signed-off-by: Dom Cobley <[email protected]>
  • Loading branch information
popcornmix committed Sep 26, 2024
1 parent 0094eba commit 425b1b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm64/configs/bcm2711_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ CONFIG_BINFMT_MISC=m
CONFIG_ZSWAP=y
CONFIG_Z3FOLD=m
# CONFIG_COMPAT_BRK is not set
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
CONFIG_CMA=y
CONFIG_LRU_GEN=y
CONFIG_LRU_GEN_ENABLED=y
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/configs/bcm2712_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ CONFIG_BINFMT_MISC=m
CONFIG_ZSWAP=y
CONFIG_Z3FOLD=m
# CONFIG_COMPAT_BRK is not set
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
CONFIG_CMA=y
CONFIG_LRU_GEN=y
CONFIG_LRU_GEN_ENABLED=y
Expand Down

0 comments on commit 425b1b7

Please sign in to comment.