On Mon, Sep 23, 2024 at 6:17 PM Kanchana P Sridhar <kanchana.p.sridhar@xxxxxxxxx> wrote: > > Added a new procedure zswap_store_entry() that refactors the code > currently in zswap_store() to store an entry in the zswap xarray. > This will allow us to call this procedure for each storing the swap > offset of each page in an mTHP in the xarray, as part of zswap_store() > supporting mTHP. > > Also, made a minor edit in the comments for 'struct zswap_entry' to delete > the description of the 'value' member that was deleted in commit > 20a5532ffa53d6ecf41ded920a7b0ff9c65a7dcf ("mm: remove code to handle > same filled pages"). nit: This probably should be a separate patch... > > Signed-off-by: Kanchana P Sridhar <kanchana.p.sridhar@xxxxxxxxx> Otherwise, LGTM :) Reviewed-by: Nhat Pham <nphamcs@xxxxxxxxx>