> -----Original Message----- > From: Nhat Pham <nphamcs@xxxxxxxxx> > Sent: Tuesday, September 24, 2024 10:17 AM > To: Sridhar, Kanchana P <kanchana.p.sridhar@xxxxxxxxx> > Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-mm@xxxxxxxxx; > hannes@xxxxxxxxxxx; yosryahmed@xxxxxxxxxx; > chengming.zhou@xxxxxxxxx; usamaarif642@xxxxxxxxx; > shakeel.butt@xxxxxxxxx; ryan.roberts@xxxxxxx; Huang, Ying > <ying.huang@xxxxxxxxx>; 21cnbao@xxxxxxxxx; akpm@xxxxxxxxxxxxxxxxxxxx; > Zou, Nanhai <nanhai.zou@xxxxxxxxx>; Feghali, Wajdi K > <wajdi.k.feghali@xxxxxxxxx>; Gopal, Vinodh <vinodh.gopal@xxxxxxxxx> > Subject: Re: [PATCH v7 3/8] mm: zswap: Refactor code to store an entry in > zswap xarray. > > 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... Sure, will delete this change in v8. > > > > > Signed-off-by: Kanchana P Sridhar <kanchana.p.sridhar@xxxxxxxxx> > > Otherwise, LGTM :) > > Reviewed-by: Nhat Pham <nphamcs@xxxxxxxxx> Thanks Nhat!