[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZIdoUesPevg5ys4a@cmpxchg.org>
Date: Mon, 12 Jun 2023 14:47:45 -0400
From: Johannes Weiner <hannes@...xchg.org>
To: Domenico Cerasuolo <cerasuolodomenico@...il.com>
Cc: vitaly.wool@...sulko.com, minchan@...nel.org,
senozhatsky@...omium.org, yosryahmed@...gle.com,
linux-mm@...ck.org, ddstreet@...e.org, sjenning@...hat.com,
nphamcs@...il.com, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, kernel-team@...a.com
Subject: Re: [PATCH v3 7/7] mm: zswap: remove zswap_header
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@...gle.com>
> Suggested-by: Yosry Ahmed <yosryahmed@...gle.com>
> Signed-off-by: Domenico Cerasuolo <cerasuolodomenico@...il.com>
Very cool.
Acked-by: Johannes Weiner <hannes@...xchg.org>
Powered by blists - more mailing lists