Re: Zombie stuck in zap_pid_ns_processes()

2013-03-26 Thread Eric W. Biederman
Oleg Nesterov writes: > On 03/24, Eric W. Biederman wrote: >> >> --- a/kernel/pid_namespace.c >> +++ b/kernel/pid_namespace.c >> @@ -181,6 +181,7 @@ void zap_pid_ns_processes(struct pid_namespace *pid_ns) >> int nr; >> int rc; >> struct task_struct *task, *me = current; >> +int

Re: Zombie stuck in zap_pid_ns_processes()

2013-03-24 Thread Oleg Nesterov
On 03/24, Eric W. Biederman wrote: > > --- a/kernel/pid_namespace.c > +++ b/kernel/pid_namespace.c > @@ -181,6 +181,7 @@ void zap_pid_ns_processes(struct pid_namespace *pid_ns) > int nr; > int rc; > struct task_struct *task, *me = current; > + int init_pids = task_pid_vnr(me)

Re: Zombie stuck in zap_pid_ns_processes()

2013-03-24 Thread Eric W. Biederman
Caj Larsson writes: > Hello, > > We are setting up a container using a CLONE_NEWNS linux namespace. > Previously we used the 3.4.4 kernel, which worked fine. After I > upgraded i also experienced races in netlink, which has been resolved > by placing a monitor around the namespace setup. When we