From: Tejun Heo Date: Mon, 7 Jan 2013 16:49:33 +0000 (-0800) Subject: cgroup: implement cgroup_rightmost_descendant() X-Git-Tag: v3.9-rc1~157^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12a9d2fef1d35770d3cdc2cd1faabb83c45bc0fa;p=pandora-kernel.git cgroup: implement cgroup_rightmost_descendant() Implement cgroup_rightmost_descendant() which returns the right most descendant of the specified cgroup. This can be used to skip the cgroup's subtree while iterating with cgroup_for_each_descendant_pre(). Signed-off-by: Tejun Heo Acked-by: Michal Hocko Acked-by: Li Zefan --- Reading git-diff-tree failed