Hi, Yamamoto-san. I'm reviewing and testing your patch now. I think your implementation is better because: - the group to be charged is determined correctly at the point of swapout, without fixing the behavior of move_task of memcg. (I think the behavior of move_task of memcg should be fixed anyway.) - the group to be uncharged is remembered in page struct of pmd, so there is no need to add array of pointers to swap_info_struct. > - anonymous objects (shmem) are not accounted. IMHO, shmem should be accounted. I agree it's difficult in your implementation, but are you going to support it? Thanks, Daisuke Nishimura. _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers