Re: [RFC PATCH 0/3] Make deferred split shrinker memcg aware

2019-05-29 Thread Yang Shi
On 5/30/19 5:07 AM, David Rientjes wrote: On Wed, 29 May 2019, Yang Shi wrote: Right, we've also encountered this. I talked to Kirill about it a week or so ago where the suggestion was to split all compound pages on the deferred split queues under the presence of even memory pressure. That

Re: [RFC PATCH 0/3] Make deferred split shrinker memcg aware

2019-05-29 Thread David Rientjes
On Wed, 29 May 2019, Yang Shi wrote: > > Right, we've also encountered this. I talked to Kirill about it a week or > > so ago where the suggestion was to split all compound pages on the > > deferred split queues under the presence of even memory pressure. > > > > That breaks cgroup isolation and

Re: [RFC PATCH 0/3] Make deferred split shrinker memcg aware

2019-05-28 Thread Yang Shi
On 5/29/19 9:22 AM, David Rientjes wrote: On Tue, 28 May 2019, Yang Shi wrote: I got some reports from our internal application team about memcg OOM. Even though the application has been killed by oom killer, there are still a lot THPs reside, page reclaim doesn't reclaim them at all. Some

Re: [RFC PATCH 0/3] Make deferred split shrinker memcg aware

2019-05-28 Thread David Rientjes
On Tue, 28 May 2019, Yang Shi wrote: > > I got some reports from our internal application team about memcg OOM. > Even though the application has been killed by oom killer, there are > still a lot THPs reside, page reclaim doesn't reclaim them at all. > > Some investigation shows they are on def

[RFC PATCH 0/3] Make deferred split shrinker memcg aware

2019-05-28 Thread Yang Shi
I got some reports from our internal application team about memcg OOM. Even though the application has been killed by oom killer, there are still a lot THPs reside, page reclaim doesn't reclaim them at all. Some investigation shows they are on deferred split queue, memcg direct reclaim can't shr