Re: [External] Re: [PATCH v2 3/5] mm: memcontrol: charge kmem pages by using obj_cgroup APIs

2021-03-06 Thread Muchun Song
On Sat, Mar 6, 2021 at 3:41 AM Roman Gushchin wrote: > > On Wed, Mar 03, 2021 at 01:59:15PM +0800, Muchun Song wrote: > > Since Roman series "The new cgroup slab memory controller" applied. All > > slab objects are charged via the new APIs of obj_cgroup. The new APIs > > introduce a struct

Re: [PATCH v2 3/5] mm: memcontrol: charge kmem pages by using obj_cgroup APIs

2021-03-05 Thread Roman Gushchin
On Wed, Mar 03, 2021 at 01:59:15PM +0800, Muchun Song wrote: > Since Roman series "The new cgroup slab memory controller" applied. All > slab objects are charged via the new APIs of obj_cgroup. The new APIs > introduce a struct obj_cgroup to charge slab objects. It prevents > long-living objects

[PATCH v2 3/5] mm: memcontrol: charge kmem pages by using obj_cgroup APIs

2021-03-03 Thread Muchun Song
Since Roman series "The new cgroup slab memory controller" applied. All slab objects are charged via the new APIs of obj_cgroup. The new APIs introduce a struct obj_cgroup to charge slab objects. It prevents long-living objects from pinning the original memory cgroup in the memory. But there are