Re: [PATCH] mm, oom: fix oom_unkillable_task for memcg OOMs

2019-06-17 Thread Shakeel Butt
On Mon, Jun 17, 2019 at 9:17 AM Michal Hocko wrote: > > On Mon 17-06-19 08:59:54, Shakeel Butt wrote: > > Currently oom_unkillable_task() checks mems_allowed even for memcg OOMs > > which does not make sense as memcg OOMs can not be triggered due to > > numa constraints. Fixing that. > > > > Also

Re: [PATCH] mm, oom: fix oom_unkillable_task for memcg OOMs

2019-06-17 Thread Michal Hocko
On Mon 17-06-19 08:59:54, Shakeel Butt wrote: > Currently oom_unkillable_task() checks mems_allowed even for memcg OOMs > which does not make sense as memcg OOMs can not be triggered due to > numa constraints. Fixing that. > > Also if memcg is given, oom_unkillable_task() will check the task's >

[PATCH] mm, oom: fix oom_unkillable_task for memcg OOMs

2019-06-17 Thread Shakeel Butt
Currently oom_unkillable_task() checks mems_allowed even for memcg OOMs which does not make sense as memcg OOMs can not be triggered due to numa constraints. Fixing that. Also if memcg is given, oom_unkillable_task() will check the task's memcg membership as well to detect oom killability.