Re: [PATCH] proc_oom_score: remove tasklist_lock and pid_alive()
From: David Rientjes
Date: Wed Jun 08 2016 - 18:49:00 EST
On Wed, 8 Jun 2016, Oleg Nesterov wrote:
> This was needed before to ensure that ->signal != 0 and do_each_thread()
> is safe, see the commit b95c35e76b29b for details.
>
> Today tsk->signal can't go away and for_each_thread(tsk) is always safe.
>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>