On Mon, Dec 5, 2022 at 3:49 AM <lirongqing@xxxxxxxxx> wrote: > > From: Li RongQing <lirongqing@xxxxxxxxx> > > when resize memory cgroup, avoid to free memory cgroup page > one by one, and try to free needed number pages once > It's not really one by one but SWAP_CLUSTER_MAX. Also can you share some experiment results on how much this patch is improving setting limits?