Re: [PATCH v5 11/18] sl[au]b: Allocate objects from memcg cache

2012-10-29 Thread Glauber Costa
On 10/29/2012 07:14 PM, JoonSoo Kim wrote: > Hi, Glauber. > > 2012/10/19 Glauber Costa : >> We are able to match a cache allocation to a particular memcg. If the >> task doesn't change groups during the allocation itself - a rare event, >> this will give us a good picture about who is the first g

Re: [PATCH v5 11/18] sl[au]b: Allocate objects from memcg cache

2012-10-29 Thread JoonSoo Kim
Hi, Glauber. 2012/10/19 Glauber Costa : > We are able to match a cache allocation to a particular memcg. If the > task doesn't change groups during the allocation itself - a rare event, > this will give us a good picture about who is the first group to touch a > cache page. > > This patch uses th

Re: [PATCH v5 11/18] sl[au]b: Allocate objects from memcg cache

2012-10-19 Thread Christoph Lameter
On Fri, 19 Oct 2012, Glauber Costa wrote: > We are able to match a cache allocation to a particular memcg. If the > task doesn't change groups during the allocation itself - a rare event, > this will give us a good picture about who is the first group to touch a > cache page. No that the infrast

[PATCH v5 11/18] sl[au]b: Allocate objects from memcg cache

2012-10-19 Thread Glauber Costa
We are able to match a cache allocation to a particular memcg. If the task doesn't change groups during the allocation itself - a rare event, this will give us a good picture about who is the first group to touch a cache page. This patch uses the now available infrastructure by calling memcg_kmem