Well, I didn't read the next patch, so I don't understand the changelog.
Still, a couple of stupid questions. Feel free to ignore me...
Why it is atomic_t? It is used like a simple boolean, and the next
patch doesn't use ns->dead.
The only caller of alloc_pid() is copy_process(). So, at first glance this
patch tries to block the attempts to create the tasks in this namespace.
But what if copy_process() has already called alloc_pid() using this ns,
but didn't do attach_pid() yet?
Oleg.
--