* so, the monitor should wakeup the cpu boosting main thread
* to call governor.
*/
- g_main_context_invoke(cpu_boosting_context,
- cpu_boosting_governor_govern_request, NULL);
+ if (cpu_boosting_is_enabled_of_cpu_stall_handler())
+ g_main_context_invoke(cpu_boosting_context,
+ cpu_boosting_governor_govern_request, NULL);
+ else
+ _I("[CPU-BOOSTING] CPU stall handler is turned off");
}
static cpu_boosting_level_e cpu_boosting_level_search(struct sched_attr attr)