aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/cgroup
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2020-02-05 14:26:20 +0100
committerTejun Heo <tj@kernel.org>2020-02-12 17:57:51 -0500
commit5a5cf5cb30d7815c01035fde4b84edef85d11c68 (patch)
tree8902eaa6a853cad870a57a35fef4c861b4c62740 /tools/testing/selftests/cgroup
parentcgroup: add cgroup_get_from_file() helper (diff)
downloadlinux-dev-5a5cf5cb30d7815c01035fde4b84edef85d11c68.tar.xz
linux-dev-5a5cf5cb30d7815c01035fde4b84edef85d11c68.zip
cgroup: refactor fork helpers
This refactors the fork helpers so they can be easily modified in the next patches. The patch just moves the cgroup threadgroup rwsem grab and release into the helpers. They don't need to be directly exposed in fork.c. Cc: Tejun Heo <tj@kernel.org> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Li Zefan <lizefan@huawei.com> Cc: cgroups@vger.kernel.org Acked-by: Michal Koutný <mkoutny@suse.com> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/cgroup')
0 files changed, 0 insertions, 0 deletions