|
|
@@ -198,7 +198,7 @@ static int test_cgcore_no_internal_process_constraint_on_threads(const char *roo
|
|
|
char *parent = NULL, *child = NULL;
|
|
|
|
|
|
if (cg_read_strstr(root, "cgroup.controllers", "cpu") ||
|
|
|
- cg_read_strstr(root, "cgroup.subtree_control", "cpu")) {
|
|
|
+ cg_write(root, "cgroup.subtree_control", "+cpu")) {
|
|
|
ret = KSFT_SKIP;
|
|
|
goto cleanup;
|
|
|
}
|