Re: [PATCH] oom: consider multi-threaded tasks in task_will_free_mem

From: Michal Hocko
Date: Wed May 18 2016 - 03:17:07 EST


On Tue 17-05-16 15:21:39, Andrew Morton wrote:
> On Tue, 17 May 2016 22:28:56 +0200 Michal Hocko <mhocko@xxxxxxxxxx> wrote:
>
> > Andrew, this is not in the mmotm tree now because I didn't feel really
> > confortable with the patch without Oleg seeing it. But it seems Oleg is
> > ok [1] with it so could you push it to Linus along with the rest of oom
> > pile please?
>
> Reluctant. The CONFIG_COMPACTION=n regression which Joonsoo identified
> is quite severe. Before patch: 10000 forks succeed. After patch: 500
> forks fail. Ouch.
>
> How can we merge such a thing?

That regression has been fixed by
http://lkml.kernel.org/r/1463051677-29418-3-git-send-email-mhocko@xxxxxxxxxx

--
Michal Hocko
SUSE Labs