On Mon, Jun 12, 2023 at 11:38:14AM +0200, Domenico Cerasuolo wrote: > zswap_writeback_entry() used to be a callback for the backends, which > don't know about struct zswap_entry. > > Now that the only user is the generic zswap LRU reclaimer, it can be > simplified: pass the pinned zswap_entry directly, and consolidate the > refcount management in the shrink function. > > Tested-by: Yosry Ahmed <yosryahmed@xxxxxxxxxx> > Signed-off-by: Domenico Cerasuolo <cerasuolodomenico@xxxxxxxxx> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>