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

Pavel Emelianov xemul at sw.ru
Tue Feb 13 01:49:36 PST 2007


Paul Menage wrote:
> On 2/13/07, Pavel Emelianov <xemul at sw.ru> 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 be we can do context (container-on-task) handling lockless?
> 
> What did you have in mind?

The example patch is attached. Fits 2.6.20-rc6-mm3.

>> > I thought that we solved that problem by having a tmp_bc field in the
>> > task_struct that would take precedence over the main bc if it was
>> > non-null?
>>
>> Of course, but I'm commenting this patchset which doesn't have
>> this facility.
> 
> OK, I can add the concept in to the example too.
> 
> Paul
> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-task-context
URL: <http://lists.openvz.org/pipermail/devel/attachments/20070213/903d921d/attachment-0001.ksh>


More information about the Devel mailing list