From: Peter Zijlstra Date: Sat, 11 Feb 2012 05:05:00 +0000 (+0100) Subject: sched/fair: Track cgroup depth X-Git-Tag: v3.15-rc1~116^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fed14d45f945042a15b09de48d7d3d58d9455fc4;p=pandora-kernel.git 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 Link: http://lkml.kernel.org/r/1328936700.2476.17.camel@laptop Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed