[PATCH] arm64: Avoid eager DVMSync reclaim batches with C1-Pro SME erratum

Will Deacon will at kernel.org
Mon Jun 29 04:59:58 PDT 2026


On Wed, 10 Jun 2026 11:37:16 +0100, Catalin Marinas wrote:
> The C1-Pro SME DVMSync workaround currently samples mm_cpumask() from
> arch_tlbbatch_add_pending(). It requires a DSB after every batched TLBI
> so that the mask read is ordered after the hardware DVMSync, defeating
> much of the reclaim batching benefit.
> 
> Introduce the sme_active_cpus mask tracking which CPUs run in user-space
> with SME enabled and use it for batch flushing instead of accumulating
> the mm_cpumask() of the unmapped pages.
> 
> [...]

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

[1/1] arm64: Avoid eager DVMSync reclaim batches with C1-Pro SME erratum
      https://git.kernel.org/arm64/c/534eb6940a89

Cheers,
-- 
Will

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



More information about the linux-arm-kernel mailing list