summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorSyed Rameez Mustafa <rameezmustafa@codeaurora.org>2016-09-06 19:18:58 -0700
committerSyed Rameez Mustafa <rameezmustafa@codeaurora.org>2016-10-10 11:10:42 -0700
commit2640728359d1747073fd8d3219219f43570ddadf (patch)
treedea3b2838f821f93cd3140540e0222b5ff680f27 /kernel
parent14b52227eb4be6143d669b7d7b9ad99dc6f558d2 (diff)
sched: Add cgroup attach functionality to the tune controller
This is required to allow tasks to freely move between cgroups associated with the tune controller. Change-Id: I1f39b957462034586edc2fdc0a35488b314e9c8c Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/tune.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/tune.c b/kernel/sched/tune.c
index 7c9e617bfa7f..3c964d6d3856 100644
--- a/kernel/sched/tune.c
+++ b/kernel/sched/tune.c
@@ -221,6 +221,7 @@ struct cgroup_subsys schedtune_cgrp_subsys = {
.css_free = schedtune_css_free,
.legacy_cftypes = files,
.early_init = 1,
+ .allow_attach = subsys_cgroup_allow_attach,
};
#endif /* CONFIG_CGROUP_SCHEDTUNE */