Re: [PATCH review 2/3] pidns: Stop pid allocation when init dies

2012-12-22 Thread Eric W. Biederman
Oleg Nesterov writes: > On 12/21, Eric W. Biederman wrote: >> >> --- a/include/linux/pid_namespace.h >> +++ b/include/linux/pid_namespace.h >> @@ -21,7 +21,7 @@ struct pid_namespace { >> struct kref kref; >> struct pidmap pidmap[PIDMAP_ENTRIES]; >> int last_pid; >> -int nr_hash

Re: [PATCH review 2/3] pidns: Stop pid allocation when init dies

2012-12-22 Thread Oleg Nesterov
On 12/21, Eric W. Biederman wrote: > > --- a/include/linux/pid_namespace.h > +++ b/include/linux/pid_namespace.h > @@ -21,7 +21,7 @@ struct pid_namespace { > struct kref kref; > struct pidmap pidmap[PIDMAP_ENTRIES]; > int last_pid; > - int nr_hashed; > + unsigned int nr_ha