Skip to content
Commit da70862e authored by Michal Koutný's avatar Michal Koutný Committed by Tejun Heo
Browse files

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: default avatarHao Lee <haolee.swjtu@gmail.com>
Signed-off-by: default avatarMichal Koutný <mkoutny@suse.com>
Reviewed-by: default avatarDaniel Jordan <daniel.m.jordan@oracle.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent b5e56576
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment