Re: [PATCH 2/3] mm: remove unused zpool layer

From: Johannes Weiner

Date: Tue Sep 09 2025 - 11:14:15 EST


On Fri, Aug 29, 2025 at 12:07:28PM -0700, SeongJae Park wrote:
> On Fri, 29 Aug 2025 17:15:27 +0100 Johannes Weiner <hannes@xxxxxxxxxxx> wrote:
>
> > With zswap using zsmalloc directly, there are no more in-tree users of
> > this code. Remove it.
> >
> > Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> [...]
> > --- a/Documentation/admin-guide/mm/zswap.rst
> > +++ b/Documentation/admin-guide/mm/zswap.rst
> [...]
> > When a swap page is passed from swapout to zswap, zswap maintains a mapping
> > -of the swap entry, a combination of the swap type and swap offset, to the zpool
> > -handle that references that compressed swap page. This mapping is achieved
> > -with a red-black tree per swap type. The swap offset is the search key for the
> > -tree nodes.
>
> Nit. s/red-black tree/xarray/ ?

Yeah, I just kept the changes scoped to the removal of zpool.

But this file indeed needs a general update beyond the changes in this
series. I'll send a separate patch to clean this up.

> Acked-by: SeongJae Park <sj@xxxxxxxxxx>

Thanks SJ