summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup_freezer.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-02-13 06:58:40 -0500
committerTejun Heo <tj@kernel.org>2014-02-13 06:58:40 -0500
commit89c5509b0d71d1609761bf72d33333ab206dac9f (patch)
tree746b3319035871869c68df21c8216688055f930f /kernel/cgroup_freezer.c
parent889ed9ceaa97bb02bf5d7349e24639f7fc5f4fa0 (diff)
downloadlinux-stable-89c5509b0d71d1609761bf72d33333ab206dac9f.tar.gz
linux-stable-89c5509b0d71d1609761bf72d33333ab206dac9f.tar.bz2
linux-stable-89c5509b0d71d1609761bf72d33333ab206dac9f.zip
cgroup: separate out put_css_set_locked() and remove put_css_set_taskexit()
put_css_set() is performed in two steps - it first tries to put without grabbing css_set_rwsem if such put wouldn't make the count zero. If that fails, it puts after write-locking css_set_rwsem. This patch separates out the second phase into put_css_set_locked() which should be called with css_set_rwsem locked. Also, put_css_set_taskexit() is droped and put_css_set() is made to take @taskexit. There are only a handful users of these functions. No point in providing different variants. put_css_locked() will be used by later changes. This patch doesn't introduce any functional changes. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'kernel/cgroup_freezer.c')
0 files changed, 0 insertions, 0 deletions