Re: [PATCH] mmotm: mm-oom-fortify-task_will_free_mem-fix

From: Oleg Nesterov
Date: Wed Jun 29 2016 - 15:22:41 EST


On 06/29, Michal Hocko wrote:
>
> But it seems that further changes I am
> planning in this area will benefit from stable task->mm in this path

Oh, so I hope you will cleanup this later,

> Just pull the task->mm !=
> NULL check inside the function.

OK, but this means it will always return false if the task is a zombie
leader.

I am not really arguing and this is not that bad, but this doesn't look
nice and imo asks for cleanup.

Oleg.