summaryrefslogtreecommitdiffstats
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-02-13 06:58:41 -0500
committerTejun Heo <tj@kernel.org>2014-02-13 06:58:41 -0500
commitcb0f1fe9ba47c202a98a9d41ad5c12c0ac7732e9 (patch)
tree9728e6a5883ddc8136e3a240ecaa9fea8343db66 /kernel/cpuset.c
parent89c5509b0d71d1609761bf72d33333ab206dac9f (diff)
downloadop-kernel-dev-cb0f1fe9ba47c202a98a9d41ad5c12c0ac7732e9.zip
op-kernel-dev-cb0f1fe9ba47c202a98a9d41ad5c12c0ac7732e9.tar.gz
cgroup: move css_set_rwsem locking outside of cgroup_task_migrate()
Instead of repeatedly locking and unlocking css_set_rwsem inside cgroup_task_migrate(), update cgroup_attach_task() to grab it outside of the loop and update cgroup_task_migrate() to use put_css_set_locked(). Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud