From: Tejun Heo Date: Tue, 25 Feb 2014 15:04:03 +0000 (-0500) Subject: cgroup: drop task_lock() protection around task->cgroups X-Git-Tag: v3.15-rc1~109^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e1d768f1b1873272ec4e8dc1482bb5281855017;p=pandora-kernel.git cgroup: drop task_lock() protection around task->cgroups For optimization, task_lock() is additionally used to protect task->cgroups. The optimization is pretty dubious as either css_set_rwsem is grabbed anyway or PF_EXITING already protects task->cgroups. It adds only overhead and confusion at this point. Let's drop task_[un]lock() and update comments accordingly. Signed-off-by: Tejun Heo Acked-by: Li Zefan --- Reading git-diff-tree failed