Re: [PATCH 1/3] mm: zswap: use sg_set_folio() in zswap_{compress/decompress}()

From: Nhat Pham
Date: Tue May 28 2024 - 11:15:19 EST


On Thu, May 23, 2024 at 8:38 PM Yosry Ahmed <yosryahmed@xxxxxxxxxx> wrote:
>
> sg_set_folio() is equivalent to sg_set_page() for order-0 folios, which
> are the only ones supported by zswap. Now zswap_decompress() can take in
> a folio directly.
>
> Signed-off-by: Yosry Ahmed <yosryahmed@xxxxxxxxxx>

LGTM.
Reviewed-by: Nhat Pham <nphamcs@xxxxxxxxx>