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

2012-10-08 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.

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

2012-10-08 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.