Remove CPU boosting of loader process 78/300878/1
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 3 Nov 2023 08:15:11 +0000 (17:15 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 3 Nov 2023 08:16:17 +0000 (17:16 +0900)
Recently, the launchpad-process-pool sends a boosting request when
the loader process is not prepared. This patch removes that.
In the product model, the module of amd sends a boosting request for
executing the process.

Change-Id: Iebf96954919be250447f19ee0d37f4274db39bf2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad-process-pool/launchpad.cc

index 90663d6..bfbe8ad 100644 (file)
@@ -511,8 +511,6 @@ Launchpad::LaunchResult Launchpad::LaunchRequestPend(
     loader_context->Prepare();
 
   if (loader_context->GetPid() > 0) {
-    CPUBoostController::DoBoost(loader_context->GetPid(),
-        CPUBoostController::Level::Strong, 10000);
     _W("Send result: %d", loader_context->GetPid());
     request->SetPid(loader_context->GetPid());
     request->SendResult(loader_context->GetPid());