Skip to content

Commit eba3e4f

Browse files
committed
temp remove cpu controller, as it seems to break in docker
1 parent 3828a4a commit eba3e4f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

judge/runguard.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,9 +570,10 @@ void cgroup_create()
570570
verbose("cpuset undefined");
571571
}
572572

573-
if ( (cg_controller = cgroup_add_controller(cg, "cpu"))==nullptr ) {
574-
error(0,"cgroup_add_controller cpu");
575-
}
573+
// TODO
574+
// if ( (cg_controller = cgroup_add_controller(cg, "cpu"))==nullptr ) {
575+
// error(0,"cgroup_add_controller cpu");
576+
// }
576577
if (!is_cgroup_v2) {
577578
if ((cg_controller = cgroup_add_controller(cg, "cpuacct")) == nullptr) {
578579
error(0, "cgroup_add_controller cpuacct");

0 commit comments

Comments
 (0)