Re: [RFC PATCH 00/10] mm/swap: ghost swapfile with backend switching via Redirect entries
From: Nhat Pham
Date: Tue Jul 07 2026 - 17:26:24 EST
On Tue, Jul 7, 2026 at 2:23 PM Nhat Pham <nphamcs@xxxxxxxxx> wrote:
>
> On Tue, Jul 7, 2026 at 1:26 AM Baoquan He <baoquan.he@xxxxxxxxx> wrote:
>
> So it's more complicated, and achieve less - this is specific to
> zswap, whereas what I provide is something generic to swap
> infrastructure, which can be extended for future backends. I would
> understand if it resulted in less overhead (which was the argument for
> my pre-swap-table vswap design), but this seems like it's just virtual
> swap, with similar space overhead (technically a bit worse since you
> added redirect_xa xarray to physical swap cluster too), and with more
> complications?
Actually no - I just realized redirect_xa is global per-swapfile :)
It's not even cluster-partitioned.