Re: [PATCH 0/2] fix premature OOM killer

From: Tetsuo Handa
Date: Fri May 19 2017 - 07:37:50 EST


Michal Hocko wrote:
> Hi,
> this is a follow up for [1]. The first patch is what Tetsuo suggested
> [2], I've just added a changelog for it. This one should be merged
> as soon as possible. The second patch is still an RFC. I _believe_
> that it is the right thing to do but I haven't checked all the PF paths
> which return VM_FAULT_OOM to be sure that there is nobody who would return
> this error when not doing a real allocation.
>
> [1] http://lkml.kernel.org/r/1495034780-9520-1-git-send-email-guro@xxxxxx
> [2] http://lkml.kernel.org/r/201705182257.HJJ52185.OQStFLFMHVOJOF@xxxxxxxxxxxxxxxxxxx
>
>

Patch 1 is insufficient and patch 2 is wrong. Please wait. I'm writing patch 1 now.