From: Andrew Morton <akpm@linux-foundation.org>
To: Daniel Lezcano <daniel.lezcano@free.fr>
Cc: containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cgroup : remove the ns_cgroup
Date: Wed, 26 Jan 2011 16:16:48 -0800 [thread overview]
Message-ID: <20110126161648.39af9576.akpm@linux-foundation.org> (raw)
In-Reply-To: <1295948388-15108-1-git-send-email-daniel.lezcano@free.fr>
On Tue, 25 Jan 2011 10:39:48 +0100
Daniel Lezcano <daniel.lezcano@free.fr> wrote:
> The ns_cgroup is an annoying cgroup at the namespace / cgroup frontier
> and leads to some problems:
>
> * cgroup creation is out-of-control
> * cgroup name can conflict when pids are looping
> * it is not possible to have a single process handling
> a lot of namespaces without falling in a exponential creation time
> * we may want to create a namespace without creating a cgroup
>
> The ns_cgroup was replaced by a compatibility flag 'clone_children',
> where a newly created cgroup will copy the parent cgroup values.
> The userspace has to manually create a cgroup and add a task to
> the 'tasks' file.
>
> This patch removes the ns_cgroup as suggested in the following thread:
>
> https://lists.linux-foundation.org/pipermail/containers/2009-June/018616.html
>
> The 'cgroup_clone' function is removed because it is no longer used.
>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
> Signed-off-by: Serge E. Hallyn <serge.hallyn@canonical.com>
> Cc: Eric W. Biederman <ebiederm@xmission.com>
> Cc: Jamal Hadi Salim <hadi@cyberus.ca>
> Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
> Acked-by: Paul Menage <menage@google.com>
> Acked-by: Matt Helsley <matthltc@us.ibm.com>
>
> ...
>
> 22 files changed, 4 insertions(+), 287 deletions(-)
I didn't see that one coming.
This change is userspace-visible, is it not? What are the implications
of this? There's some discussion in that nearly-two-year-old thread
regarding making provision for back-compatibility but I'm not seeing
such things in this patch?
next prev parent reply other threads:[~2011-01-27 0:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-25 9:39 [PATCH] cgroup : remove the ns_cgroup Daniel Lezcano
2011-01-27 0:16 ` Andrew Morton [this message]
2011-01-27 0:18 ` Andrew Morton
2011-01-27 1:08 ` Li Zefan
2011-01-27 1:45 ` Andrew Morton
2011-01-27 8:50 ` Daniel Lezcano
2011-01-28 15:45 ` Daniel P. Berrange
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110126161648.39af9576.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=containers@lists.linux-foundation.org \
--cc=daniel.lezcano@free.fr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox