Re: [PATCH v3 0/9] Optimize anonymous large folio unmapping
From: Andrew Morton
Date: Fri May 08 2026 - 19:42:22 EST
On Wed, 6 May 2026 15:14:55 +0530 Dev Jain <dev.jain@xxxxxxx> wrote:
> Speed up unmapping of anonymous large folios by clearing the ptes, and
> setting swap ptes, in one go.
>
> ...
>
> Performance as measured on a Linux VM on Apple M3 (arm64):
>
> Vanilla - Mean: 37401913 ns, std dev: 12%
> Patched - Mean: 17420282 ns, std dev: 11%
>
> No regression observed on 4K folios.
>
> Performance as measured on bare metal x86:
>
> Vanilla - mean: 54986286 ns, std dev: 1.5%
> Patched - mean: 51930795 ns, std dev: 3%
That looks nice.
I'll pass at this time, wait for reviewer input. Most reviewers are
jetlagged and exhausted, so a resend might be needed ;)
Saskiko said a few things:
https://sashiko.dev/#/patchset/20260506094504.2588857-1-dev.jain@xxxxxxx