Re: [PATCH v6 11/29] memcg: allow a memcg with kmem charges to be destructed.

2012-11-06 Thread Michal Hocko
On Thu 01-11-12 17:05:39, Andrew Morton wrote: > On Thu, 1 Nov 2012 16:07:27 +0400 > Glauber Costa wrote: > > > Because the ultimate goal of the kmem tracking in memcg is to track slab > > pages as well, we can't guarantee that we'll always be able to point a > > page to a particular process, an

Re: [PATCH v6 11/29] memcg: allow a memcg with kmem charges to be destructed.

2012-11-02 Thread Glauber Costa
On 11/02/2012 04:05 AM, Andrew Morton wrote: > On Thu, 1 Nov 2012 16:07:27 +0400 > Glauber Costa wrote: > >> Because the ultimate goal of the kmem tracking in memcg is to track slab >> pages as well, we can't guarantee that we'll always be able to point a >> page to a particular process, and mig

Re: [PATCH v6 11/29] memcg: allow a memcg with kmem charges to be destructed.

2012-11-01 Thread Andrew Morton
On Thu, 1 Nov 2012 16:07:27 +0400 Glauber Costa wrote: > Because the ultimate goal of the kmem tracking in memcg is to track slab > pages as well, we can't guarantee that we'll always be able to point a > page to a particular process, and migrate the charges along with it - > since in the common

[PATCH v6 11/29] memcg: allow a memcg with kmem charges to be destructed.

2012-11-01 Thread Glauber Costa
Because the ultimate goal of the kmem tracking in memcg is to track slab pages as well, we can't guarantee that we'll always be able to point a page to a particular process, and migrate the charges along with it - since in the common case, a page will contain data belonging to multiple processes.