Re: [Devel] Re: [ckrm-tech] [RFC][PATCH 3/7] UBC: ub context andinheritance

From: Pavel V. Emelianov
Date: Thu Aug 17 2006 - 09:17:40 EST

Srivatsa Vaddagiri wrote:
> On Wed, Aug 16, 2006 at 07:38:44PM +0400, Kirill Korotaev wrote:
>> Contains code responsible for setting UB on task,
>> it's inheriting and setting host context in interrupts.
>> Task references three beancounters:
>> 1. exec_ub current context. all resources are
>> charged to this beancounter.
>> 2. task_ub beancounter to which task_struct is
>> charged itself.
>> 3. fork_sub beancounter which is inherited by
>> task's children on fork
> Is there a case where exec_ub and fork_sub can differ? I dont see that
> in the patch.
Look in context changing in interrupts - "set_exec_ub(&ub0);" is done there.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at