summaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorTejun Heo2015-10-15 22:41:52 +0200
committerTejun Heo2015-10-15 22:41:52 +0200
commitecb9d535df967b3ca565535e14456f612373bf5e (patch)
tree0a4a5f742715f8d36d764b5ca0fb77db40f75119 /include/linux/cgroup.h
parentcgroup: factor out css_set_move_task() (diff)
downloadkernel-qcow2-linux-ecb9d535df967b3ca565535e14456f612373bf5e.tar.gz
kernel-qcow2-linux-ecb9d535df967b3ca565535e14456f612373bf5e.tar.xz
kernel-qcow2-linux-ecb9d535df967b3ca565535e14456f612373bf5e.zip
cgroup: reorganize css_task_iter functions
* Rename css_advance_task_iter() to css_task_iter_advance_css_set() and make it clear it->task_pos too at the end of the iteration. * Factor out css_task_iter_advance() from css_task_iter_next(). The new function whines if called on a terminated iterator. Except for the termination check, this is pure reorganization and doesn't introduce any behavior changes. This will help the planned locking update for css_task_iter. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/cgroup.h')
0 files changed, 0 insertions, 0 deletions