Re: [RFC] [PATCH 0/7] Some basic vserver infrastructure

From: Dave Hansen
Date: Tue Mar 21 2006 - 16:31:33 EST

On Wed, 2006-03-22 at 09:08 +1200, Sam Vilain wrote:
> Dave Hansen wrote:
> >What about going back to the very simple "struct container" on which to
> >build?
> Please read "vx_info" as "container" (or your preferred term). I
> decided to punt on the naming issue and copy Herbert :-).

My point was that we go back to something simple which we can all
understand and build on. The code which was just posted is quite
complex. Although I trust that most of it is needed, the justification
for the complexity simply is not there.

By starting painfully simply, we can build on complexity in bits, and
justify it as we go.

> And also because the acronym "vx" makes the API look nice, at least to
> mine and Herbert's eyes, then when you go to the network virtualisation
> you get "nx_info", etc. However I'm thinking any of these terms might
> also be right:
> - "vserver" spelt in full
> - family
> - container
> - jail
> - task_ns (sort for namespace)
> Perhaps we can get a ruling from core team on this one, as it's
> aesthetics :-).

I was in a meeting with a few coworkers, and we were arguing a bit about
naming. One person there was a manager-type who didn't have any direct
involvement in the project. We asked him which naming was more clear.

We need to think a bit like that. What is more clear to somebody who
has never read the code? (Hint "vx_" means nothing. :)

> >
> >
> This patch is simple, but does not handle SMP scalability very well
> (you'll get a lot of cacheline problems when you start actually using
> the container structure; the hashing helps a lot there)

Could you elaborate a bit on this one? What has cacheline problems?

> and does not provide functions such as looking up a container by ID etc.

We need something so simple that we probably don't even deal with ids.
I believe that Eric claims that we don't really need container _ids_.
For instance, the filesystem namespaces have no ids, and work just fine.

-- Dave

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at