Re: [PATCH] memcg, oom: no oom-kill for __GFP_RETRY_MAYFAIL

2019-04-29 Thread Michal Hocko
On Mon 29-04-19 07:37:08, Shakeel Butt wrote: > On Mon, Apr 29, 2019 at 5:22 AM Michal Hocko wrote: > > > > On Sun 28-04-19 16:56:13, Shakeel Butt wrote: > > > The documentation of __GFP_RETRY_MAYFAIL clearly mentioned that the > > > OOM killer will not be triggered and indeed the page alloc does

Re: [PATCH] memcg, oom: no oom-kill for __GFP_RETRY_MAYFAIL

2019-04-29 Thread Shakeel Butt
On Mon, Apr 29, 2019 at 5:22 AM Michal Hocko wrote: > > On Sun 28-04-19 16:56:13, Shakeel Butt wrote: > > The documentation of __GFP_RETRY_MAYFAIL clearly mentioned that the > > OOM killer will not be triggered and indeed the page alloc does not > > invoke OOM killer for such allocations. However

Re: [PATCH] memcg, oom: no oom-kill for __GFP_RETRY_MAYFAIL

2019-04-29 Thread Michal Hocko
On Sun 28-04-19 16:56:13, Shakeel Butt wrote: > The documentation of __GFP_RETRY_MAYFAIL clearly mentioned that the > OOM killer will not be triggered and indeed the page alloc does not > invoke OOM killer for such allocations. However we do trigger memcg > OOM killer for __GFP_RETRY_MAYFAIL. Fix t

[PATCH] memcg, oom: no oom-kill for __GFP_RETRY_MAYFAIL

2019-04-28 Thread Shakeel Butt
The documentation of __GFP_RETRY_MAYFAIL clearly mentioned that the OOM killer will not be triggered and indeed the page alloc does not invoke OOM killer for such allocations. However we do trigger memcg OOM killer for __GFP_RETRY_MAYFAIL. Fix that. Signed-off-by: Shakeel Butt --- mm/memcontrol.