diff options
author | Tejun Heo <tj@kernel.org> | 2013-08-26 22:40:56 (GMT) |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-08-26 22:40:56 (GMT) |
commit | 9fa4db334c7d9570aec7a5121e84fae99aae1d04 (patch) | |
tree | e9db3a75ec77038f68c1961e947346a33fabafcf /kernel/fork.c | |
parent | ca8bdcaff0d77990fb69e0f946018c96a70851cc (diff) | |
download | linux-9fa4db334c7d9570aec7a5121e84fae99aae1d04.tar.xz |
cgroup: implement CFTYPE_NO_PREFIX
When cgroup files are created, cgroup core automatically prepends the
name of the subsystem as prefix. This patch adds CFTYPE_NO_ which
disables the automatic prefix. This is to work around historical
baggages and shouldn't be used for new files.
This will be used to move "cgroup.event_control" from cgroup core to
memcg.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Glauber Costa <glommer@gmail.com>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions