I also wonder why it was required and can't be done in normal way...The only correct thing you noticed is get_xpid on alpha. But this issidenote on that, maybe the various archs could
in fact a simple bug and half a year before we didn't care much for
archs others than i386/x86-64/ia64. That's it.
switch to C implementations of those 'special'
get_xpid() and friends, as I do not think they
are a) done that often (might be wrong there)
and b) recent gcc should get that right now anyway
Ok, just one simple question:For example, networking is coupled with sysctl, which in turn arethe question should be: which part of proc should be part
coupled with proc filesystem. And sysfs! You even added a piece of code
in net/core/net-sysfs.c in your patch, which is a dirty hack.
Another example, mqueues and other subsystems which use netlinks and also depend on network context.
shmem/IPC is dependand on file system context and so on.
So it won't work when one have networking from one container and proc
from another.
of the pid space and which not, definitely the network
stuff would _not_ be part of the pid space ...
Out of curiosity, do you have any _working_ examples of other usages?So I really see no much reasons to have separate namespaces, but it is ok for me if someone really wants it this way.the reasons are, as I explained several times, that folks
use 'virtualization' or 'isolation' for many different
things, just because SWsoft only uses it for VPS doesn't
meant that it cannot be used for other things
just consider isolating/virtualizing the network stack,I see... Any idea why this can be required?
but leaving the processes in the same pid space, how to
do that in a sane way with a single reference?
because, the question was quite simple, isn't it?1. ask Linus about the preffered approach. I prepared an email for himwhy do you propose, if you already did? :)
with a description of approaches.
2. start from networking/netfilters/IPC which are essentially the sameno problem with that, once Eric got there ...
in both projects and help each other.