Re: [PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-13 Thread Pavel Emelianov
Paul Menage wrote: > On 2/13/07, Pavel Emelianov <[EMAIL PROTECTED]> wrote: >> >> I have implementation that moves arbitrary task :) > > Is that the one that calls stop_machine() in order to move a task > around? That seemed a little heavyweight ... Nope :) I've rewritten it completely. >> May b

Re: [PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-13 Thread Paul Menage
On 2/13/07, Pavel Emelianov <[EMAIL PROTECTED]> wrote: I have implementation that moves arbitrary task :) Is that the one that calls stop_machine() in order to move a task around? That seemed a little heavyweight ... May be we can do context (container-on-task) handling lockless? What did

Re: [PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-13 Thread Pavel Emelianov
Paul Menage wrote: > On 2/13/07, Pavel Emelianov <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >> > This patch implements the BeanCounter resource control abstraction >> > over generic process containers. It contains the beancounter core >> > code, plus the numfiles resource counter. It do

Re: [PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-13 Thread Paul Menage
On 2/13/07, Pavel Emelianov <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > This patch implements the BeanCounter resource control abstraction > over generic process containers. It contains the beancounter core > code, plus the numfiles resource counter. It doesn't currently contain > any o

Re: [PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-13 Thread Pavel Emelianov
[EMAIL PROTECTED] wrote: > This patch implements the BeanCounter resource control abstraction > over generic process containers. It contains the beancounter core > code, plus the numfiles resource counter. It doesn't currently contain > any of the memory tracking code or the code for switching bean

Re: [PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-12 Thread Paul Menage
On 2/12/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: On Mon, Feb 12, 2007 at 12:15:27AM -0800, [EMAIL PROTECTED] wrote: > This patch implements the BeanCounter resource control abstraction > over generic process containers. Forgive my confusion, but do we really need two-levels of resource

Re: [PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-12 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:27AM -0800, [EMAIL PROTECTED] wrote: > This patch implements the BeanCounter resource control abstraction > over generic process containers. Forgive my confusion, but do we really need two-levels of resource control abstraction here? Why can't resource controllers d

[PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-12 Thread menage
This patch implements the BeanCounter resource control abstraction over generic process containers. It contains the beancounter core code, plus the numfiles resource counter. It doesn't currently contain any of the memory tracking code or the code for switching beancounter context in interrupts. C