diff options
author | Tejun Heo <tj@kernel.org> | 2014-05-13 18:11:00 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-05-13 18:11:00 +0200 |
commit | 7d331fa985d3a39d5b8cb60caf016d3e53e57c91 (patch) | |
tree | 91521a5c39556347262c2b41c05428236e6ced46 /Documentation | |
parent | cgroup: update and fix parsing of "cgroup.subtree_control" (diff) | |
download | linux-7d331fa985d3a39d5b8cb60caf016d3e53e57c91.tar.xz linux-7d331fa985d3a39d5b8cb60caf016d3e53e57c91.zip |
cgroup: use restart_syscall() for retries after offline waits in cgroup_subtree_control_write()
After waiting for a child to finish offline,
cgroup_subtree_control_write() jumps up to retry from after the input
parsing and active protection breaking. This retry makes the
scheduled locking update - removal of cgroup_tree_mutex - more
difficult. Let's simplify it by returning with restart_syscall() for
retries.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions