struct cgroup_subsys schedtune_cgrp_subsys = {
.css_alloc = schedtune_css_alloc,
.css_free = schedtune_css_free,
-// .allow_attach = schedtune_allow_attach,
+ .allow_attach = schedtune_allow_attach,
.can_attach = schedtune_can_attach,
.cancel_attach = schedtune_cancel_attach,
.legacy_cftypes = files,
pr_info("schedtune: configured to support %d boost groups\n",
BOOSTGROUPS_COUNT);
+
+ schedtune_initialized = true;
}
#else /* CONFIG_CGROUP_SCHEDTUNE */