From: ebiederm@xmission.com (Eric W. Biederman)
To: "Kir Kolyshkin" <kir@swsoft.com>
Cc: <containers@lists.osdl.org>, <akpm@linux-foundation.org>,
<linux-kernel@vger.kernel.org>, <torvalds@linux-foundation.org>,
kir@openvz.org
Subject: Re: [Devel] [PATCH] pidns: Place under CONFIG_EXPERIMENTAL (take 2)
Date: Fri, 26 Oct 2007 15:59:29 -0600 [thread overview]
Message-ID: <m1ve8ty1tq.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <CBC546DD07068244AEC110EFEDA58B7235893F@excite.int.sw-soft.com> (Kir Kolyshkin's message of "Fri, 26 Oct 2007 16:58:32 -0400")
"Kir Kolyshkin" <kir@swsoft.com> writes:
> Eric,
>
> Could you please hold off the horses a bit and wait till Pavel Emelyanov
> returns? It means next Monday; he's currently at a conference whose organisers
> don't provide internet access.
When we decided to go top down (i.e. user interface first) instead of
bottom up with the pid namespace implementation it was my
understanding that we had agreed we would make the pid namespaces
depend on CONFIG_EXPERIMENTAL so that we wouldn't be stuck forever
supporting early ABI mistakes.
So to my knowledge the conversation has already happened. I believe
something in the confusion of trying to use these options to shrink
the kernel and the futility of that, caused whatever config options
we had before to be dropped.
Further I was happy to let Pavel and Suka work on this code because
the appeared to know what they were doing and it freed me to do other
things. I don't think there are any mysteries in what we are trying
to do that I need them to explain.
> I feel it makes great sense to review/discuss patches first on containers@
> first before submitting directly to lkml/Linus.
My feel before starting to review the pid namespace patches was that
the work was essentially done except a handful of minor details. Upon
closer examination, I found that not to be the case. My rough fix
queue had 25 or so patches as of last night to fix pid namespace
issues.
I have no confidence that we will fix all of the pid namespaces issues
before 2.6.24-final. I do think we can get most of them fixed.
Given that most of the remaining issues are integration issues
with the rest of the kernel having the code merged should make
it much easier to see what is going on and actually fix things.
So I am not in favor of reverting this code despite seeing numerous
problems.
> Speaking of this particular patch -- I don't understand how you fix
> "innumerable little bugs" by providing stubs instead of real functions.
> Sent from my BlackBerry; please reply to kir@openvz.org
It doesn't fix the bugs it avoids them because there is no way to
get to the them and trigger them. So far I have yet to find a bug
that is a problem with only a single pid namespace in the kernel.
Since everyone agrees that there are at least some deficiencies in
the current pid namespace I think this makes sense, to mark
the code as EXPERIMENTAL and have a way for people who care to
shut it off just so they don't have to worry about new issues.
As far as how the config option is implemented I don't much care
so long as I get the -EINVAL when I pass CLONE_NEWPID as root.
Essentially this patch is part of a defense in depth against pid
namespace problems hitting people. This patch is my first line
of defense. Actually fixing all of the rest of the known bugs
is the other line.
Eric
next parent reply other threads:[~2007-10-26 22:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CBC546DD07068244AEC110EFEDA58B7235893F@excite.int.sw-soft.com>
2007-10-26 21:59 ` Eric W. Biederman [this message]
2007-10-27 0:24 ` [Devel] [PATCH] pidns: Place under CONFIG_EXPERIMENTAL (take 2) Adrian Bunk
2007-10-27 1:31 ` Eric W. Biederman
2007-10-27 2:04 ` Adrian Bunk
2007-10-27 2:18 ` Andrew Morton
2007-10-27 3:46 ` Eric W. Biederman
2007-10-27 4:03 ` Adrian Bunk
2007-10-27 4:40 ` Eric W. Biederman
2007-10-27 5:17 ` Adrian Bunk
2007-10-27 4:40 ` Andrew Morton
2007-10-27 7:41 ` Eric W. Biederman
2007-10-29 18:05 ` Cedric Le Goater
2007-10-29 19:11 ` Eric W. Biederman
2007-10-28 16:12 ` Jeremy Fitzhardinge
2007-10-28 17:00 ` Adrian Bunk
2007-10-28 18:31 ` Eric W. Biederman
2007-10-29 10:13 ` Cedric Le Goater
2007-10-29 18:08 ` Eric W. Biederman
2007-10-26 22:34 ` Eric W. Biederman
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=m1ve8ty1tq.fsf@ebiederm.dsl.xmission.com \
--to=ebiederm@xmission.com \
--cc=akpm@linux-foundation.org \
--cc=containers@lists.osdl.org \
--cc=kir@openvz.org \
--cc=kir@swsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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