sukadev@xxxxxxxxxx writes: > From: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx> > Subject: [RFC][PATCH 02/14] Move alloc_pid call to copy_process > > Move alloc_pid() into copy_process(). This will help in > code to support cloning of pid namespace. I think this makes sense. However if we are doing it let's put the special case code for the init_pid in free_pid and pass the type to alloc_pid. Otherwise all of the extra if look ugly in copy_process. Putting them in alloc_pid and free_pid doesn't really get rid of them but at least it keeps them in a very pid context. Eric _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers