OpenVZ Forum


Home » Mailing lists » Devel » Re: pspace name
Re: pspace name [message #16599] Thu, 07 September 2006 15:21
serue is currently offline  serue
Messages: 750
Registered: February 2006
Senior Member
Quoting Cedric Le Goater (clg@fr.ibm.com):
> 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' ?
> 
> 'namespace' should probably be renamed to something like 'mnt_namespace' ?

pid_ns and mnt_ns?

(task_ns is not quite correct, since the task_struct relationships, i.e.
parent->child and session/group, are not really part of the namespace)

Wonder whether Al would have a cow if we rename 'namespace' to
'mnt_ns'...

-serge
_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Previous Topic: [PATCH] FIX: whitespace damage in namespaces-incorporate-fs-namespace-into-nsproxy
Next Topic: Re: pspace name
Goto Forum:
  


Current Time: Sun Jul 28 04:25:10 GMT 2024

Total time taken to generate the page: 0.02639 seconds