From: Tejun Heo Date: Tue, 13 May 2014 16:11:00 +0000 (-0400) Subject: cgroup: use restart_syscall() for retries after offline waits in cgroup_subtree_contr... X-Git-Tag: omap-for-v3.16/fixes-against-rc1~81^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d331fa985d3a39d5b8cb60caf016d3e53e57c91;p=pandora-kernel.git 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 Acked-by: Li Zefan --- Reading git-diff-tree failed