(2012/05/12 2:44), Glauber Costa wrote:

> From: Frederic Weisbecker <[email protected]>
> 
> Moving a task from a cgroup to another may require to substract its
> resource charge from the old cgroup and add it to the new one.
> 
> For this to happen, the uncharge/charge propagation can just stop when we
> reach the common ancestor for the two cgroups.  Further the performance
> reasons, we also want to avoid to temporarily overload the common
> ancestors with a non-accurate resource counter usage if we charge first
> the new cgroup and uncharge the old one thereafter.  This is going to be a
> requirement for the coming max number of task subsystem.
> 
> To solve this, provide a pair of new API that can charge/uncharge a
> resource counter until we reach a given ancestor.
> 
> Signed-off-by: Frederic Weisbecker <[email protected]>
> Acked-by: Paul Menage <[email protected]>
> Acked-by: Glauber Costa <[email protected]>
> Cc: Li Zefan <[email protected]>
> Cc: Johannes Weiner <[email protected]>
> Cc: Aditya Kali <[email protected]>
> Cc: Oleg Nesterov <[email protected]>
> Cc: Kay Sievers <[email protected]>
> Cc: Tim Hockin <[email protected]>
> Cc: Tejun Heo <[email protected]>
> Acked-by: Kirill A. Shutemov <[email protected]>
> Signed-off-by: Andrew Morton <[email protected]>


Where is this function called in this series ?

Thanks,
-Kame

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to