From: "Serge E. Hallyn" <serue@us.ibm.com>
To: Paul Menage <menage@google.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
Linux Containers <containers@lists.linux-foundation.org>
Subject: Re: [PATCH][BUGFIX] cgroups: fix pid namespace bug
Date: Thu, 2 Jul 2009 11:15:49 -0500 [thread overview]
Message-ID: <20090702161548.GA13383@us.ibm.com> (raw)
In-Reply-To: <6599ad830907020843l7ce75abfq3e78b8f67a407ab9@mail.gmail.com>
Quoting Paul Menage (menage@google.com):
> On Thu, Jul 2, 2009 at 6:26 AM, Serge E. Hallyn<serue@us.ibm.com> wrote:
> > Quoting Li Zefan (lizf@cn.fujitsu.com):
> >> Paul Menage wrote:
> >> > On Wed, Jul 1, 2009 at 7:17 PM, Li Zefan<lizf@cn.fujitsu.com> wrote:
> >> >> But I guess we are going to fix the bug for 2.6.31? So is it ok to
> >> >> merge a new feature 'cgroup.procs' together into 2.6.31?
> >> >>
> >> >
> >> > Does this bug really need to be fixed for 2.6.31? I didn't think that
> >> > the namespace support in mainline was robust enough yet for people to
> >> > use them for virtual servers in production environments.
> >
> > I don't know where the bar is for 'production environments', but I'd
> > have to claim that pid namespaces are there...
>
> Well, pid namespaces are marked as experimental, as are user
> namespaces (and were described as "very incomplete" a few months
incomplete (due to signaling issues which have mostly been resolved)
but stable and usable.
user namespace are a completely different story :)
> back). Pid namespaces are useful for process migration (which is still
> under development) or virtual servers (for which user namespaces are
> pretty much essential). So I'm not sure quite what you'd use pid
> namespaces for yet.
You don't need user namespaces to use pid namespaces for virtual
servers (depending on your use).
Now the fact remains this is a hard to trigger bug which doesn't
corrupt the kernel, and - to take back what I said earlier - userspace
can work around it by simply freezing the cgroup before reading its
tasks file.
So I guess I can go either way... If Li's patch were more complicated
I'd definately be for waiting. But I do object to the general process
of making a fix of a pretty bad bag depend on an unrelated new feature!
-serge
next prev parent reply other threads:[~2009-07-02 16:16 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-02 1:24 [PATCH][BUGFIX] cgroups: fix pid namespace bug Li Zefan
2009-07-02 1:24 ` Li Zefan
[not found] ` <4A4C0C60.4050106-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2009-07-02 1:36 ` Paul Menage
2009-07-02 1:36 ` Paul Menage
2009-07-02 1:45 ` Li Zefan
2009-07-02 1:57 ` KAMEZAWA Hiroyuki
2009-07-02 11:40 ` Balbir Singh
[not found] ` <20090702105707.8b2135d9.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2009-07-02 11:40 ` Balbir Singh
[not found] ` <6599ad830907011836x5eccc83eyc896a67295a6486d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-02 1:45 ` Li Zefan
2009-07-02 1:57 ` KAMEZAWA Hiroyuki
2009-07-02 2:17 ` Li Zefan
2009-07-02 2:17 ` Li Zefan
[not found] ` <4A4C18D5.7020806-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2009-07-02 2:20 ` Paul Menage
2009-07-02 2:20 ` Paul Menage
[not found] ` <6599ad830907011920r44df4022p53808b574da4a886-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-02 2:28 ` Li Zefan
2009-07-02 2:28 ` Li Zefan
2009-07-02 13:26 ` Serge E. Hallyn
2009-07-02 15:43 ` Paul Menage
[not found] ` <6599ad830907020843l7ce75abfq3e78b8f67a407ab9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-02 16:15 ` Serge E. Hallyn
2009-07-04 9:13 ` Eric W. Biederman
2009-07-02 16:15 ` Serge E. Hallyn [this message]
[not found] ` <20090702161548.GA13383-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-07-02 16:27 ` Paul Menage
2009-07-02 16:27 ` Paul Menage
2009-07-02 23:20 ` Andrew Morton
[not found] ` <20090702162019.f34f12d6.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2009-07-02 23:29 ` Paul Menage
2009-07-02 23:29 ` Paul Menage
[not found] ` <6599ad830907020927x44a88a6dgb229fb2ad6ef5481-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-02 23:20 ` Andrew Morton
2009-07-04 9:13 ` Eric W. Biederman
[not found] ` <20090702132659.GA8051-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-07-02 15:43 ` Paul Menage
[not found] ` <4A4C1B33.2030002-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2009-07-02 13:26 ` Serge E. Hallyn
2009-07-02 13:58 ` Serge E. Hallyn
2009-07-02 16:26 ` Paul Menage
2009-07-02 13:58 ` Serge E. Hallyn
2009-07-02 16:26 ` Paul Menage
2009-07-02 16:37 ` Serge E. Hallyn
2009-07-02 16:46 ` Paul Menage
[not found] ` <6599ad830907020946r42735c9es642bddf37af755ed-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-02 19:14 ` Serge E. Hallyn
2009-07-02 19:14 ` Serge E. Hallyn
[not found] ` <20090702163731.GA14267-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-07-02 16:46 ` Paul Menage
[not found] ` <6599ad830907020926t6305bec9t44a50cc165f6fc28-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-07-02 16:37 ` Serge E. Hallyn
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=20090702161548.GA13383@us.ibm.com \
--to=serue@us.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=containers@lists.linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.com \
--cc=menage@google.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.