@@ -483,8 +483,9 @@ static void configureFocusedSlice() {
483483 {" cgroup.max.descendants" , " 10" },
484484 };
485485
486+ std::string cGroupPath = UrmSettings::focusedCgroup;
486487 for (size_t i = 0 ; i < sizeof (cgroupParam) / sizeof (cgroupParam[0 ]); i++) {
487- setCgroupParam (UrmSettings::focusedCgroup. c_str () , cgroupParam[i][0 ], cgroupParam[i][1 ]);
488+ setCgroupParam (cGroupPath , cgroupParam[i][0 ], cgroupParam[i][1 ]);
488489 }
489490}
490491
@@ -597,7 +598,7 @@ static ErrCode init(void* arg) {
597598 // Initialize external features
598599 ExtFeaturesRegistry::getInstance ()->initializeFeatures ();
599600
600- // Configure focused .slice parameters
601+ // Configure urm .slice parameters
601602 configureFocusedSlice ();
602603
603604 // Create the Processor thread:
@@ -611,7 +612,7 @@ static ErrCode init(void* arg) {
611612 // Wait for the thread to initialize
612613 std::this_thread::sleep_for (std::chrono::milliseconds (300 ));
613614
614- // Start the Pulse Monitor and Garbage Collector Daemon Threads
615+ // Start the Pulse Monitor and Garbage Collector Daemon Threads
615616 if (RC_IS_NOTOK (startPulseMonitorDaemon ())) {
616617 TYPELOGD (PULSE_MONITOR_INIT_FAILED );
617618 return RC_MODULE_INIT_FAILURE ;
0 commit comments