Yes, I'm still using memcg-v1. But it's too expensive for us to migrate the production environment to memcg-v2. On Fri, Feb 28, 2025 at 3:12 AM Shakeel Butt <shakeel.butt@xxxxxxxxx> wrote: > > On Thu, Feb 27, 2025 at 10:34:51PM +0800, ying chen wrote: > > When we use zram as swap disks, global reclaim may cause the memory in some > > cgroups with memory.swappiness set to 0 to be swapped into zram. This memory > > won't be swapped back immediately after the free memory increases. Instead, > > it will continue to occupy the zram space, which may result in no available > > zram space for the cgroups with swapping enabled. Therefore, I think that > > when the vm.swappiness is set to 0, global reclaim should also refrain > > from memory swapping, just like these cgroups. > > > > Signed-off-by: yc1082463 <yc1082463@xxxxxxxxx> > > It seems like you are still on memcg-v1. What is stopping you to move to > memcg-v2 and use memory.swap.max = 0? >