commit | fed14d45f945042a15b09de48d7d3d58d9455fc4 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Sat Feb 11 06:05:00 2012 +0100 |
committer | Ingo Molnar <mingo@kernel.org> | Mon Feb 10 16:17:10 2014 +0100 |
tree | 9f94e472cb3395023a7b29dfee17829fc75c8f0d | |
parent | 3c4017c13f91069194fce3160944efec50f15a6e [diff] |
sched/fair: Track cgroup depth 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@infradead.org> Link: http://lkml.kernel.org/r/1328936700.2476.17.camel@laptop Signed-off-by: Ingo Molnar <mingo@kernel.org>