Skip to content

Commit 6b6ebb3

Browse files
lizf-oshtejun
authored andcommitted
cgroup: Remove stale comments
- The default root is where we can create v2 cgroups. - The __DEVEL__sane_behavior mount option has been removed long long ago. Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
1 parent eec8fd0 commit 6b6ebb3

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

‎kernel/cgroup/cgroup.c‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,7 @@ static struct static_key_true *cgroup_subsys_on_dfl_key[] = {
153153

154154
static DEFINE_PER_CPU(struct cgroup_rstat_cpu, cgrp_dfl_root_rstat_cpu);
155155

156-
/*
157-
* The default hierarchy, reserved for the subsystems that are otherwise
158-
* unattached - it never has more than a single cgroup, and all tasks are
159-
* part of that cgroup.
160-
*/
156+
/* the default hierarchy */
161157
struct cgroup_root cgrp_dfl_root = { .cgrp.rstat_cpu = &cgrp_dfl_root_rstat_cpu };
162158
EXPORT_SYMBOL_GPL(cgrp_dfl_root);
163159

@@ -251,9 +247,6 @@ bool cgroup_ssid_enabled(int ssid)
251247
* cases where a subsystem should behave differnetly depending on the
252248
* interface version.
253249
*
254-
* The set of behaviors which change on the default hierarchy are still
255-
* being determined and the mount option is prefixed with __DEVEL__.
256-
*
257250
* List of changed behaviors:
258251
*
259252
* - Mount options "noprefix", "xattr", "clone_children", "release_agent"

0 commit comments

Comments
 (0)