Re: [PATCH 2/2] memcg: relocate charge moving from ->attach to ->post_attach

2016-04-25 Thread Tejun Heo
Applied 1-2 to cgroup/for-4.6-fixes. Thanks. -- tejun

Re: [PATCH 2/2] memcg: relocate charge moving from ->attach to ->post_attach

2016-04-25 Thread Tejun Heo
Applied 1-2 to cgroup/for-4.6-fixes. Thanks. -- tejun

Re: [PATCH 2/2] memcg: relocate charge moving from ->attach to ->post_attach

2016-04-25 Thread Tejun Heo
Hello, Michal. On Mon, Apr 25, 2016 at 10:25:42AM +0200, Michal Hocko wrote: > > * move_charge_struct->mm is added and ->can_attach is now responsible > > for pinning and recording the target mm. mem_cgroup_clear_mc() is > > updated accordingly. This also simplifies mem_cgroup_move_task().

Re: [PATCH 2/2] memcg: relocate charge moving from ->attach to ->post_attach

2016-04-25 Thread Tejun Heo
Hello, Michal. On Mon, Apr 25, 2016 at 10:25:42AM +0200, Michal Hocko wrote: > > * move_charge_struct->mm is added and ->can_attach is now responsible > > for pinning and recording the target mm. mem_cgroup_clear_mc() is > > updated accordingly. This also simplifies mem_cgroup_move_task().

Re: [PATCH 2/2] memcg: relocate charge moving from ->attach to ->post_attach

2016-04-25 Thread Michal Hocko
On Thu 21-04-16 19:09:02, Tejun Heo wrote: > Hello, > > So, this ended up a lot simpler than I originally expected. I tested > it lightly and it seems to work fine. Petr, can you please test these > two patches w/o the lru drain drop patch and see whether the problem > is gone? > > Thanks. >

Re: [PATCH 2/2] memcg: relocate charge moving from ->attach to ->post_attach

2016-04-25 Thread Michal Hocko
On Thu 21-04-16 19:09:02, Tejun Heo wrote: > Hello, > > So, this ended up a lot simpler than I originally expected. I tested > it lightly and it seems to work fine. Petr, can you please test these > two patches w/o the lru drain drop patch and see whether the problem > is gone? > > Thanks. >

Re: [PATCH 2/2] memcg: relocate charge moving from ->attach to ->post_attach

2016-04-22 Thread Petr Mladek
On Thu 2016-04-21 19:09:02, Tejun Heo wrote: > Hello, > > So, this ended up a lot simpler than I originally expected. I tested > it lightly and it seems to work fine. Petr, can you please test these > two patches w/o the lru drain drop patch and see whether the problem > is gone? The LTP test

Re: [PATCH 2/2] memcg: relocate charge moving from ->attach to ->post_attach

2016-04-22 Thread Petr Mladek
On Thu 2016-04-21 19:09:02, Tejun Heo wrote: > Hello, > > So, this ended up a lot simpler than I originally expected. I tested > it lightly and it seems to work fine. Petr, can you please test these > two patches w/o the lru drain drop patch and see whether the problem > is gone? The LTP test

[PATCH 2/2] memcg: relocate charge moving from ->attach to ->post_attach

2016-04-21 Thread Tejun Heo
Hello, So, this ended up a lot simpler than I originally expected. I tested it lightly and it seems to work fine. Petr, can you please test these two patches w/o the lru drain drop patch and see whether the problem is gone? Thanks. -- 8< -- If charge moving is used, memcg performs

[PATCH 2/2] memcg: relocate charge moving from ->attach to ->post_attach

2016-04-21 Thread Tejun Heo
Hello, So, this ended up a lot simpler than I originally expected. I tested it lightly and it seems to work fine. Petr, can you please test these two patches w/o the lru drain drop patch and see whether the problem is gone? Thanks. -- 8< -- If charge moving is used, memcg performs