[<prev] [next>] [day] [month] [year] [list]
Message-ID: <6599ad830704061858j30747a79rd16b20a23d8584ab@mail.gmail.com>
Date: Fri, 6 Apr 2007 18:58:15 -0700
From: "Paul Menage" <menage@...gle.com>
To: akpm@...ux-foundation.org, sekharan@...ibm.com, dev@...ru,
xemul@...ru, serue@...ibm.com, vatsa@...ibm.com,
ebiederm@...ssion.com
Cc: ckrm-tech@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
rohitseth@...gle.com, mbligh@...gle.com, containers@...ts.osdl.org,
devel@...nvz.org
Subject: Re: [ckrm-tech] [PATCH 3/7] Containers (V8): Add generic multi-subsystem API to containers
On 4/6/07, menage@...gle.com <menage@...gle.com> wrote:
> This patch removes all cpuset-specific knowlege from the container
> system, replacing it with a generic API that can be used by multiple
> subsystems. Cpusets is adapted to be a container subsystem.
>
> +
> + /* Set of subsystem states, one for each subsystem. NULL for
> + * subsystems that aren't part of this hierarchy. These
> + * pointers reduce the number of dereferences required to get
> + * from a task to its state for a given container, but result
> + * in increased space usage if tasks are in wildly different
> + * groupings across different hierarchies. This array is
> + * mostly immutable after creation - a newly registered
> + * subsystem can result in a pointer in this array
> + * transitioning from NULL to non-NULL */
> + struct container_subsys_state *subsys[CONTAINER_SUBSYS_COUNT];
Oops, this comment is rather out of date and should have been trimmed
for this patch. It should be disregarded apart from the first
sentence.
Paul
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists