Re: [PATCH] zsmalloc: introduce SG-list based object read API

From: Yosry Ahmed

Date: Tue Feb 03 2026 - 18:37:51 EST


On Tue, Feb 03, 2026 at 03:14:06PM -0800, Nhat Pham wrote:
[..]
> > zswap_decompress_fail++;
> > pr_alert_ratelimited("Decompression error from zswap (%d:%lu %s %u->%d)\n",
> > swp_type(entry->swpentry),
> > swp_offset(entry->swpentry),
> > - entry->pool->tfm_name, entry->length, dlen);
> > + entry->pool->tfm_name,
> > + entry->length, dlen);
>
> Just style change? :)

The line was too long and it didn't look uniform, so I snuck this in :P

>
> > return false;
> > }
> >
> > --
> > 2.52.0.457.g6b5491de43-goog
> >
>
> Looks like the new zsmalloc sglist-based API has landed in mm-stable.
>
> With that, the zswap API conversion LGTM.
>
> Acked-by: Nhat Pham <nphamcs@xxxxxxxxx>

Thanks!