cgroup: move cgroup v1 specific code to kernel/cgroup/cgroup-v1.c
authorTejun Heo <tj@kernel.org>
Tue, 27 Dec 2016 19:49:06 +0000 (14:49 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 27 Dec 2016 19:49:06 +0000 (14:49 -0500)
commit0a268dbd7932c78896f5a45c8a492b31729db6c0
treedc988c67e71fe5f43301042f23525bc8ff5cdb9b
parent201af4c0fab02876ef0311e7f7b4083aa138930c
cgroup: move cgroup v1 specific code to kernel/cgroup/cgroup-v1.c

cgroup.c is getting too unwieldy.  Let's move out cgroup v1 specific
code along with the debug controller into kernel/cgroup/cgroup-v1.c.

v2: cgroup_mutex and css_set_lock made available in cgroup-internal.h
    regardless of CONFIG_PROVE_RCU.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Acked-by: Zefan Li <lizefan@huawei.com>
kernel/cgroup/Makefile
kernel/cgroup/cgroup-internal.h [new file with mode: 0644]
kernel/cgroup/cgroup-v1.c [new file with mode: 0644]
kernel/cgroup/cgroup.c