Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030214AbWBGWWV (ORCPT ); Tue, 7 Feb 2006 17:22:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030212AbWBGWWV (ORCPT ); Tue, 7 Feb 2006 17:22:21 -0500 Received: from watts.utsl.gen.nz ([202.78.240.73]:57501 "EHLO mail.utsl.gen.nz") by vger.kernel.org with ESMTP id S1030207AbWBGWWT (ORCPT ); Tue, 7 Feb 2006 17:22:19 -0500 Message-ID: <43E91D85.6000100@vilain.net> Date: Wed, 08 Feb 2006 11:21:57 +1300 From: Sam Vilain User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kirill Korotaev Cc: Linus Torvalds , Dave Hansen , Kirill Korotaev , Andrew Morton , Linux Kernel Mailing List , frankeh@watson.ibm.com, clg@fr.ibm.com, greg@kroah.com, alan@lxorguk.ukuu.org.uk, serue@us.ibm.com, arjan@infradead.org, Rik van Riel , Alexey Kuznetsov , Andrey Savochkin , devel@openvz.org, Pavel Emelianov Subject: Re: [RFC][PATCH 1/5] Virtualization/containers: startup References: <43E38BD1.4070707@openvz.org> <43E3915A.2080000@sw.ru> <1138991641.6189.37.camel@localhost.localdomain> <43E61448.7010704@sw.ru> <43E7E998.2020007@vilain.net> <43E890CB.1060608@sw.ru> In-Reply-To: <43E890CB.1060608@sw.ru> X-Enigmail-Version: 0.92.1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 919 Lines: 22 Kirill Korotaev wrote: >>> I'd suggest >>> >>> current->container - the current EFFECTIVE container >>> current->master_container - the "long term" container. >>> >>> (replace "master" with some other non-S&M term if you want) >> Hmm. You actually need a linked list, otherwise you have replaced a one >> level flat structure with a two level one, and you miss out on some of >> the applications. VServer uses a special structure for this. > > Nope! :) This is pointer to current/effective container, which can be > anywhere in the hierarchy. list should be inside container struct. So why store anything other than the effective container in the task? Sam. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/