Re: [RFC PATCH -mm] memcg: reparent only LRUs during mem_cgroup_css_offline

2014-03-07 Thread Michal Hocko
On Wed 26-02-14 18:49:10, Hugh Dickins wrote: > On Wed, 19 Feb 2014, Michal Hocko wrote: > > > css_offline callback exported by the cgroup core is not intended to get > > rid of all the charges but rather to get rid of cached charges for the > > soon destruction. For the memory controller we have

Re: [RFC PATCH -mm] memcg: reparent only LRUs during mem_cgroup_css_offline

2014-03-07 Thread Michal Hocko
On Wed 26-02-14 18:49:10, Hugh Dickins wrote: On Wed, 19 Feb 2014, Michal Hocko wrote: css_offline callback exported by the cgroup core is not intended to get rid of all the charges but rather to get rid of cached charges for the soon destruction. For the memory controller we have 2

Re: [RFC PATCH -mm] memcg: reparent only LRUs during mem_cgroup_css_offline

2014-02-26 Thread Hugh Dickins
On Wed, 19 Feb 2014, Michal Hocko wrote: > css_offline callback exported by the cgroup core is not intended to get > rid of all the charges but rather to get rid of cached charges for the > soon destruction. For the memory controller we have 2 different types of > "cached" charges which prevent

Re: [RFC PATCH -mm] memcg: reparent only LRUs during mem_cgroup_css_offline

2014-02-26 Thread Hugh Dickins
On Wed, 19 Feb 2014, Michal Hocko wrote: css_offline callback exported by the cgroup core is not intended to get rid of all the charges but rather to get rid of cached charges for the soon destruction. For the memory controller we have 2 different types of cached charges which prevent from

[RFC PATCH -mm] memcg: reparent only LRUs during mem_cgroup_css_offline

2014-02-19 Thread Michal Hocko
css_offline callback exported by the cgroup core is not intended to get rid of all the charges but rather to get rid of cached charges for the soon destruction. For the memory controller we have 2 different types of "cached" charges which prevent from the memcg destruction (because they pin memcg

[RFC PATCH -mm] memcg: reparent only LRUs during mem_cgroup_css_offline

2014-02-19 Thread Michal Hocko
css_offline callback exported by the cgroup core is not intended to get rid of all the charges but rather to get rid of cached charges for the soon destruction. For the memory controller we have 2 different types of cached charges which prevent from the memcg destruction (because they pin memcg by