diff options
author | Tejun Heo <tj@kernel.org> | 2013-11-29 10:42:59 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-11-29 10:42:59 -0500 |
commit | 045023658ca1e30dc0bb1f148b42c95b740d3e02 (patch) | |
tree | a97199b0e773e5dd5e420987f96f285644586db2 /firmware/mts_cdma.fw.ihex | |
parent | 4bac00d16a8760eae7205e41d2c246477d42a210 (diff) | |
download | linux-045023658ca1e30dc0bb1f148b42c95b740d3e02.tar.gz linux-045023658ca1e30dc0bb1f148b42c95b740d3e02.tar.bz2 linux-045023658ca1e30dc0bb1f148b42c95b740d3e02.zip |
cgroup: remove cgroup_pidlist->use_count
After the recent changes, pidlist ref is held only between
cgroup_pidlist_start() and cgroup_pidlist_stop() during which
cgroup->pidlist_mutex is also held. IOW, the reference count is
redundant now. While in use, it's always one and pidlist_mutex is
held - holding the mutex has exactly the same protection.
This patch collapses destroy_dwork queueing into cgroup_pidlist_stop()
so that pidlist_mutex is not released inbetween and drops
pidlist->use_count.
This patch shouldn't introduce any behavior changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'firmware/mts_cdma.fw.ihex')
0 files changed, 0 insertions, 0 deletions