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: [email protected]
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers
_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel