From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Smith Subject: Re: [PATCH] c/r: Add UTS support (v4) Date: Mon, 23 Mar 2009 07:52:37 -0700 Message-ID: <87eiwoi956.fsf@caffeine.danplanet.com> References: <1237402291-28812-1-git-send-email-danms@us.ibm.com> <49C2C686.2060806@cs.columbia.edu> <871vstdtn1.fsf@caffeine.danplanet.com> <49C2CDFA.4010907@cs.columbia.edu> <49C2D183.8040905@cs.columbia.edu> <20090320181043.GB8380@us.ibm.com> <49C3EFAF.9030706@cs.columbia.edu> <1237579196.8286.239.camel@nimitz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1237579196.8286.239.camel@nimitz> (Dave Hansen's message of "Fri, 20 Mar 2009 12:59:56 -0700") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Dave Hansen Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org, adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org List-Id: containers.vger.kernel.org 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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org