diff options
author | Tejun Heo <tj@kernel.org> | 2013-01-07 20:49:33 +0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-01-07 20:50:28 +0400 |
commit | 12a9d2fef1d35770d3cdc2cd1faabb83c45bc0fa (patch) | |
tree | a7c50e81a638a156ce8d4f41dcab273397e6e474 /tools/cgroup | |
parent | d5b1fe68baa7213f198e5be8cd1a1037258ab2c8 (diff) | |
download | linux-12a9d2fef1d35770d3cdc2cd1faabb83c45bc0fa.tar.xz |
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 <tj@kernel.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'tools/cgroup')
0 files changed, 0 insertions, 0 deletions