[Devel] Re: [PATCH] c/r: Add UTS support (v4)

Dan Smith danms at us.ibm.com
Mon Mar 23 07:52:37 PDT 2009


DH> for each ns in nsproxy {
DH>   if (ns seen first time) {
DH>     alloc ns_objref
DH>     save state of ns
DH>   } else {
DH>     save existing ns_objref
DH>   }
DH> }

Isn't this precisely what I have in the latest patch?  Since there is
only one supported namespace type, perhaps the for loop is hard to
recognize...

The bitfield serves only to describe which *new* namespace records
follow the general one, but the objref of each (supported) namespace
is included in the initial record.  Now that I think of it, I can do
away with the bitfield to avoid confusion.

-- 
Dan Smith
IBM Linux Technology Center
email: danms at us.ibm.com

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list