Re: [PATCH RFC] mm: count zeromap read and set for swapout and swapin

From: Yosry Ahmed
Date: Tue Oct 29 2024 - 13:55:51 EST


> FWIW, the swap abstraction layer Yosry proposed last year (and I'm
> working on right now) will allow you to store these zeromapped swap
> entries without requiring any swap slots allocated on the swapfile.
> It's basically the same thing as swap/zswap decoupling.

I don't know if I said this before, but thank you for keeping this
alive. Much appreciated :)

>
> Not stopping you guys from optimizing it, since all I have right now
> is a (most certainly buggy) prototype + there might be benefits if we
> can get around the swap subsystem altogether for these zero mapped
> entries. Just letting you know there's a backup plan :)