lkml.org 
[lkml]   [2016]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mmotm: mm-oom-fortify-task_will_free_mem-fix
On Wed 29-06-16 21:22:33, Oleg Nesterov wrote:
> 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.

I will keep that in mind and hopefully we can make this less obscure.
Who would like zombie leaders lurking around ;)
--
Michal Hocko
SUSE Labs

\
 
 \ /
  Last update: 2016-06-30 11:01    [W:0.046 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site