[Devel] [PATCH rh7 1/2] sched/fair: Track cgroup depth

Vladimir Davydov vdavydov at parallels.com
Wed Sep 23 07:58:47 PDT 2015


On Tue, Sep 22, 2015 at 05:33:01PM +0300, Kirill Tkhai wrote:
> Port ms commits:
> 
> fed14d45f945042a15b09de48d7d3d58d9455fc4
> eb7a59b2c888c2518ba2c9d0020343ca71aa9dee (fix for the first).
> 
> Track depth in cgroup tree, this is useful for things like
> find_matching_se() where you need to get to a common parent of two
> sched entities.
> 
> Keeping the depth avoids having to calculate it on the spot, which
> saves a number of possible cache-misses.
> 
> Signed-off-by: Peter Zijlstra <peterz at infradead.org>
> Link: http://lkml.kernel.org/r/1328936700.2476.17.camel@laptop
> Signed-off-by: Ingo Molnar <mingo at kernel.org>
> Signed-off-by: Kirill Tkhai <ktkhai at odin.com>

Reviewed-by: Vladimir Davydov <vdavydov at parallels.com>



More information about the Devel mailing list