We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e442e5c commit 166dfc4Copy full SHA for 166dfc4
kernel/cgroup/cgroup.c
@@ -6766,11 +6766,19 @@ static int __init cgroup_enable(char *str)
6766
strcmp(token, ss->legacy_name))
6767
continue;
6768
6769
- cgroup_feature_disable_mask &= ~(1 << i);
6770
static_branch_enable(cgroup_subsys_enabled_key[i]);
6771
pr_info("Enabling %s control group subsystem\n",
6772
ss->name);
6773
}
+
6774
+ for (i = 0; i < OPT_FEATURE_COUNT; i++) {
6775
+ if (strcmp(token, cgroup_opt_feature_names[i]))
6776
+ continue;
6777
+ cgroup_feature_disable_mask &= ~(1 << i);
6778
+ pr_info("Enabling %s control group feature\n",
6779
+ cgroup_opt_feature_names[i]);
6780
+ break;
6781
+ }
6782
6783
return 1;
6784
0 commit comments