summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorMichal Koutný <mkoutny@suse.com>2021-01-14 13:44:27 +0100
committerTejun Heo <tj@kernel.org>2021-01-15 15:36:18 -0500
commitda70862efe0065bada33d67a903270cdbbaf07d9 (patch)
treeb612562920f7e138ea41150232d4812cadc35b7f /kernel/locking
parentb5e56576e16236de3c035ca86cd3ef16591722fb (diff)
cgroup: cgroup.{procs,threads} factor out common parts
The functions cgroup_threads_write and cgroup_procs_write are almost identical. In order to reduce duplication, factor out the common code in similar fashion we already do for other threadgroup/task functions. No functional changes are intended. Suggested-by: Hao Lee <haolee.swjtu@gmail.com> Signed-off-by: Michal Koutný <mkoutny@suse.com> Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions