Re: [PATCH mmotm] memcg: Ignore partial THP when moving task

2015-12-09 Thread Michal Hocko
Dohh, forgot to git add after s@PageCoumpound@PageTransCompound@ Updated patch is below: --- >From efff9d4696cbce6710827a8422a5b285bf9b8052 Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Fri, 4 Dec 2015 08:30:22 +0100 Subject: [PATCH] memcg: Ignore partial THP when moving task After "mm:

Re: [PATCH mmotm] memcg: Ignore partial THP when moving task

2015-12-09 Thread Michal Hocko
Dohh, forgot to git add after s@PageCoumpound@PageTransCompound@ Updated patch is below: --- >From efff9d4696cbce6710827a8422a5b285bf9b8052 Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Fri, 4 Dec 2015 08:30:22 +0100 Subject: [PATCH] memcg: Ignore partial THP when moving task

Re: [PATCH mmotm] memcg: Ignore partial THP when moving task

2015-12-08 Thread Johannes Weiner
On Tue, Dec 08, 2015 at 06:13:09PM +0100, Michal Hocko wrote: > From: Michal Hocko > > After "mm: rework mapcount accounting to enable 4k mapping of THPs" > it is possible to have a partial THP accessible via ptes. Memcg task > migration code is not prepared for this situation and uncharges the

[PATCH mmotm] memcg: Ignore partial THP when moving task

2015-12-08 Thread Michal Hocko
From: Michal Hocko After "mm: rework mapcount accounting to enable 4k mapping of THPs" it is possible to have a partial THP accessible via ptes. Memcg task migration code is not prepared for this situation and uncharges the tail page from the original memcg while the original THP is still

[PATCH mmotm] memcg: Ignore partial THP when moving task

2015-12-08 Thread Michal Hocko
From: Michal Hocko After "mm: rework mapcount accounting to enable 4k mapping of THPs" it is possible to have a partial THP accessible via ptes. Memcg task migration code is not prepared for this situation and uncharges the tail page from the original memcg while the original

Re: [PATCH mmotm] memcg: Ignore partial THP when moving task

2015-12-08 Thread Johannes Weiner
On Tue, Dec 08, 2015 at 06:13:09PM +0100, Michal Hocko wrote: > From: Michal Hocko > > After "mm: rework mapcount accounting to enable 4k mapping of THPs" > it is possible to have a partial THP accessible via ptes. Memcg task > migration code is not prepared for this situation