cgroup: simplify threadgroup locking
authorTejun Heo <tj@kernel.org>
Wed, 13 May 2015 20:35:18 +0000 (16:35 -0400)
committerTejun Heo <tj@kernel.org>
Wed, 27 May 2015 00:35:00 +0000 (20:35 -0400)
commitb5ba75b5fc0e8404e2c50cb68f39bb6a53fc916f
tree467e0e1d4b745ca8ce37673f2fb5505487a82bb7
parentd59cfc09c32a2ae31f1c3bc2983a0cd79afb3f14
cgroup: simplify threadgroup locking

Now that threadgroup locking is made global, code paths around it can
be simplified.

* lock-verify-unlock-retry dancing removed from __cgroup_procs_write().

* Race protection against de_thread() removed from
  cgroup_update_dfl_csses().

Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup.c