Since we support multiple controllers, asserting is no longer a good
idea.
TODO: Support other controllers, memory, cpu and cpuacct (possibly
cpusets as well). Well, this code is obsolete and will be replaced
by the newer cgroup API.
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@152
4f4bb910-9a46-0410-90c8-
c897d4f1cd53
if (!strncmp(cg_controller_name, "cpu", strlen("cpu"))) {
ret = cg_cpu_controller_settings(cg_group, group_path);
} else
- assert(0);
+ printf("config for %s pending\n", cg_controller_name);
return ret;
}