Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container interface to nsproxy subsystem

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Srivatsa Vaddagiri
Date: Thursday, April 5, 2007 - 9:57 am

On Wed, Apr 04, 2007 at 11:57:18AM -0700, Paul Menage wrote:

The approach I am on currently doesnt deal with dynamically loaded
modules ..Partly because it allows subsystem ids to be compile-time
decided and also init_nsproxy.ctlr_data[] can be initialised to default
values at compile time itself.

For ex: init_nsproxy.ctlr_data[CPUSET_ID] can be set to &top_cpuset
at compile time.

If there is demand later, I agree we need to address the shortcoming you
point out ..


We have been thr' this in a diff thread. I trust we have discussed all
that need to be discussed here? 


Ok ..by posting rcfs patches, I didn't mean to introduce a "yours" and
"mine" rift ..honestly.  In fact you would notice that they have your
(sole) copyright still on them! It took me just two days to convert over the
patches to use nsproxy and come up with the rcfs patches and obviously I
couldnt have done that without your excellent patches to start with.

So if there is is larger interest in using nsproxy at some point, I hope
they serve as some reference patches to do the conversion. I would go ahead
and post what I have now (which incorporates several bug fixes) which 
could be used as you deem necessary at a later point if/when considering 
moving to nsproxy.


I agree that is not a big issue now (considering there are larger things
to go after!).


I am still trying to come to terms with this null groupings and how they
would be used in real life.

	- Can you list a real world use of it?

	- If they are "inescapable" task groups, how does the first task enter
	  such a group, using just the filesystem interface?

	- If there is no real kernel use for such groups, can this be
	  implemented in userspace (user ids, session ids etc)

	- If userspace soln is not feasible, why would you want such null
	  groupings in multiple hierarchies and not in one hierarchy?
	  If having them in one hierarchy satisfies the requirements,
	  then we could create empty cpusets at top level (or at an 
	  appropriate subcpuset level) and use them as null groups?
	  By defining permissionss of the null-group cpuset directories,
   	  we could restrict movement of tasks across groups ?

-- 
Regards,
vatsa
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Fri Mar 23, 10:05 pm)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Sat Mar 24, 9:23 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Wed Mar 28, 7:55 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Fri Mar 30, 7:47 pm)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Mon Apr 2, 7:27 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Eric W. Biederman, (Mon Apr 2, 11:02 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Tue Apr 3, 7:16 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Tue Apr 3, 9:10 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Tue Apr 3, 9:16 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Tue Apr 3, 9:46 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Tue Apr 3, 10:11 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Tue Apr 3, 10:30 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Tue Apr 3, 10:34 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Tue Apr 3, 10:51 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Tue Apr 3, 8:07 pm)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Tue Apr 3, 10:15 pm)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Wed Apr 4, 10:26 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Wed Apr 4, 10:42 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Wed Apr 4, 11:39 pm)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Wed Apr 4, 11:46 pm)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Thu Apr 5, 1:49 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Thu Apr 5, 5:43 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Thu Apr 5, 7:13 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Thu Apr 5, 7:46 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Thu Apr 5, 9:57 am)
Re: [ckrm-tech] [PATCH 7/7] containers (V7): Container int ..., Srivatsa Vaddagiri, (Thu Apr 5, 10:14 am)