Re: [PATCH v3 7/7] mm: zswap: remove zswap_header

From: Johannes Weiner
Date: Mon Jun 12 2023 - 14:47:53 EST


On Mon, Jun 12, 2023 at 11:38:15AM +0200, Domenico Cerasuolo wrote:
> Previously, zswap_header served the purpose of storing the swpentry
> within zpool pages. This allowed zpool implementations to pass relevant
> information to the writeback function. However, with the current
> implementation, writeback is directly handled within zswap.
> Consequently, there is no longer a necessity for zswap_header, as the
> swp_entry_t can be stored directly in zswap_entry.
>
> Tested-by: Yosry Ahmed <yosryahmed@xxxxxxxxxx>
> Suggested-by: Yosry Ahmed <yosryahmed@xxxxxxxxxx>
> Signed-off-by: Domenico Cerasuolo <cerasuolodomenico@xxxxxxxxx>

Very cool.

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>