Skip to content

Commit

Permalink
arm64: Kconfig: Select PGTABLE_MAPPING
Browse files Browse the repository at this point in the history
VM mapping is faster than copying on ARM64.

Signed-off-by: Dimitar Yurukov <mscalindt@protonmail.com>
Signed-off-by: onettboots <blackcocopet@gmail.com>
  • Loading branch information
mscalindt authored and onettboots committed Mar 29, 2024
1 parent 4e94398 commit 855f7e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ config ARM64
select ARCH_INLINE_WRITE_UNLOCK_BH if !PREEMPT
select ARCH_INLINE_WRITE_UNLOCK_IRQ if !PREEMPT
select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE if !PREEMPT
select PGTABLE_MAPPING if ZSMALLOC
select ARCH_USE_CMPXCHG_LOCKREF
select ARCH_USE_QUEUED_RWLOCKS
select ARCH_USE_QUEUED_SPINLOCKS
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/raphael_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ CONFIG_SCHED_HRTICK=y
CONFIG_DEFAULT_MMAP_MIN_ADDR=32768
CONFIG_CMA=y
CONFIG_ZSMALLOC=y
CONFIG_PGTABLE_MAPPING=y
CONFIG_BALANCE_ANON_FILE_RECLAIM=y
CONFIG_SECCOMP=y
# CONFIG_HARDEN_BRANCH_PREDICTOR is not set
Expand Down

0 comments on commit 855f7e9

Please sign in to comment.