lkml.org 
[lkml]   [2014]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] exit: reparent: fix/update the comments in zap_pid_ns_processes()
On 11/24, Oleg Nesterov wrote:
>
> + * sys_wait4() above can't reap the TASK_DEAD children but we do not
> + * really care, we could reparent them to the global init. We could
> + * exit and reap ->child_reaper even if it is not the last thread in
> + * this pid_ns, free_pid(nr_hashed == 0) calls proc_cleanup_work(),
> + * pid_ns can not go away until proc_kill_sb() drops the reference.
> + *
> + * But this namespace can also have other tasks injected by setns().
^^^^^
I meant setns() + fork(), but I hope this is clear.

Oleg.



\
 
 \ /
  Last update: 2014-11-24 21:41    [W:0.175 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site