Re: [PATCH v4] arm64: enable THP_SWAP for arm64

From: Will Deacon
Date: Wed Jul 20 2022 - 06:15:24 EST


On Wed, 20 Jul 2022 21:37:37 +1200, Barry Song wrote:
> From: Barry Song <v-songbaohua@xxxxxxxx>
>
> THP_SWAP has been proven to improve the swap throughput significantly
> on x86_64 according to commit bd4c82c22c367e ("mm, THP, swap: delay
> splitting THP after swapped out").
> As long as arm64 uses 4K page size, it is quite similar with x86_64
> by having 2MB PMD THP. THP_SWAP is architecture-independent, thus,
> enabling it on arm64 will benefit arm64 as well.
> A corner case is that MTE has an assumption that only base pages
> can be swapped. We won't enable THP_SWAP for ARM64 hardware with
> MTE support until MTE is reworked to coexist with THP_SWAP.
>
> [...]

Applied to arm64 (for-next/mm), thanks!

[1/1] arm64: enable THP_SWAP for arm64
https://git.kernel.org/arm64/c/d0637c505f8a

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev