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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Kirill Korotaev <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- References:
- [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Kirill Korotaev <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Linus Torvalds <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Kirill Korotaev <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Linus Torvalds <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Dave Hansen <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Kirill Korotaev <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Linus Torvalds <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Sam Vilain <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Kirill Korotaev <[email protected]>
- [RFC][PATCH 1/5] Virtualization/containers: startup
- Prev by Date: Re: [PATCH]: Documentation: Updated PCI Error Recovery
- Next by Date: Re: 8250 serial console fixes -- issue
- Previous by thread: Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- Next by thread: Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- Index(es):