Re: [PATCH 1/6] containers: Generic container system abstracted from cpusets code

2007-01-02 Thread Paul Menage
On 12/30/06, Eric W. Biederman <[EMAIL PROTECTED]> wrote: Paul Menage <[EMAIL PROTECTED]> writes: > This patch creates a generic process container system based on (and > parallel top) the cpusets code. At a coarse level it was created by > copying kernel/cpuset.c, doing s/cpuset/container/g, an

Re: [PATCH 1/6] containers: Generic container system abstracted from cpusets code

2006-12-30 Thread Paul Jackson
Eric wrote: > The whole interface that reads out the processes in your task > grouping looks scary. It takes the tasklist_lock and holds > it for an indefinite duration. It doesn't look "indefinite" to me. It reads the 'container' field of each task struct, and then is done, dropping the lock.

Re: [PATCH 1/6] containers: Generic container system abstracted from cpusets code

2006-12-30 Thread Eric W. Biederman
Paul Menage <[EMAIL PROTECTED]> writes: > This patch creates a generic process container system based on (and > parallel top) the cpusets code. At a coarse level it was created by > copying kernel/cpuset.c, doing s/cpuset/container/g, and stripping out any > code that was cpuset-specific rather t

[PATCH 1/6] containers: Generic container system abstracted from cpusets code

2006-12-22 Thread Paul Menage
This patch creates a generic process container system based on (and parallel top) the cpusets code. At a coarse level it was created by copying kernel/cpuset.c, doing s/cpuset/container/g, and stripping out any code that was cpuset-specific rather than applicable to any process container subsystem