[Devel] Re: pspace name

Sukadev Bhattiprolu sukadev at us.ibm.com
Thu Sep 7 09:10:11 PDT 2006


Cedric Le Goater [clg at fr.ibm.com] wrote:
| all,
| 
| 'pspace' sounds wrong when you know about the other namespaces :
| 
| struct nsproxy {
| 	atomic_t count;
| 	spinlock_t nslock;
| 	struct uts_namespace *uts_ns;
| 	struct ipc_namespace *ipc_ns;
| 	struct user_namespace *user_ns;
| 	struct namespace *namespace;
| };
| 
| 'proc_namespace' might be confusing, what about 'task_namespace' ?

I agree we should rename.  I had suggested pid_space to "rhyme" wiht
pidmap, but received no ack/nack. I meant to send another mail,
specially after the is_init() collision recently.
| 
| 'namespace' should probably be renamed to something like 'mnt_namespace' ?

While at it, should we change CLONE_NEWNS to CLONE_MNTNS ?
| 
| C.
| _______________________________________________
| Containers mailing list
| Containers at lists.osdl.org
| https://lists.osdl.org/mailman/listinfo/containers
_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers




More information about the Devel mailing list