diff --git a/judge/runguard.cc b/judge/runguard.cc index 3085ffa87b1..9a30be96165 100644 --- a/judge/runguard.cc +++ b/judge/runguard.cc @@ -570,9 +570,10 @@ void cgroup_create() verbose("cpuset undefined"); } - if ( (cg_controller = cgroup_add_controller(cg, "cpu"))==nullptr ) { - error(0,"cgroup_add_controller cpu"); - } + // TODO + // if ( (cg_controller = cgroup_add_controller(cg, "cpu"))==nullptr ) { + // error(0,"cgroup_add_controller cpu"); + // } if (!is_cgroup_v2) { if ((cg_controller = cgroup_add_controller(cg, "cpuacct")) == nullptr) { error(0, "cgroup_add_controller cpuacct");