Re: [ckrm-tech] [PATCH 3/6] containers: Add generic multi-subsystem API to containers

2007-01-20 Thread Balbir Singh
Paul Menage wrote: On 1/11/07, Balbir Singh <[EMAIL PROTECTED]> wrote: to 0. To walk the hierarchy, I have no root now since I do not have any task context. I was wondering if exporting the rootnode or providing a function to export the rootnode of the mounter hierarchy will make programming eas

Re: [ckrm-tech] [PATCH 3/6] containers: Add generic multi-subsystem API to containers

2007-01-12 Thread Balbir Singh
Paul Menage wrote: > On 1/11/07, Balbir Singh <[EMAIL PROTECTED]> wrote: >> to 0. To walk the hierarchy, I have no root now since I do not have >> any task context. I was wondering if exporting the rootnode or providing >> a function to export the rootnode of the mounter hierarchy will make >> prog

Re: [ckrm-tech] [PATCH 3/6] containers: Add generic multi-subsystem API to containers

2007-01-12 Thread Paul Menage
On 1/11/07, Balbir Singh <[EMAIL PROTECTED]> wrote: to 0. To walk the hierarchy, I have no root now since I do not have any task context. I was wondering if exporting the rootnode or providing a function to export the rootnode of the mounter hierarchy will make programming easier. Ah - I misund

Re: [ckrm-tech] [PATCH 3/6] containers: Add generic multi-subsystem API to containers

2007-01-11 Thread Balbir Singh
Paul Menage wrote: > On 1/10/07, Balbir Singh <[EMAIL PROTECTED]> wrote: >> Paul Menage wrote: >>> +/* The set of hierarchies in use. Hierarchy 0 is the "dummy >>> + * container", reserved for the subsystems that are otherwise >>> + * unattached - it never has more than a single container, and all

Re: [ckrm-tech] [PATCH 3/6] containers: Add generic multi-subsystem API to containers

2007-01-11 Thread Paul Menage
On 1/10/07, Balbir Singh <[EMAIL PROTECTED]> wrote: Paul Menage wrote: > +/* The set of hierarchies in use. Hierarchy 0 is the "dummy > + * container", reserved for the subsystems that are otherwise > + * unattached - it never has more than a single container, and all > + * tasks are part of that

Re: [ckrm-tech] [PATCH 3/6] containers: Add generic multi-subsystem API to containers

2007-01-10 Thread Balbir Singh
Paul Menage wrote: > +/* The set of hierarchies in use. Hierarchy 0 is the "dummy > + * container", reserved for the subsystems that are otherwise > + * unattached - it never has more than a single container, and all > + * tasks are part of that container. */ > + > +static struct containerfs_root r