From 9f4c2201c27c747267d1691562011ada56600769 Mon Sep 17 00:00:00 2001 From: Pavankumar Kondeti Date: Fri, 29 Jan 2021 10:11:29 +0530 Subject: [PATCH] sched/walt: Remove evaluation from the core_ctl thread context The core_ctl thread is woken up only after evaluating the need. so another evaluation in core_ctl thread context is not needed. Change-Id: I28162b758c18cda4ff05f1b1a4b1a5553c895e7e Signed-off-by: Pavankumar Kondeti --- kernel/sched/walt/core_ctl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/sched/walt/core_ctl.c b/kernel/sched/walt/core_ctl.c index 1379ea789334..193dd23777c2 100644 --- a/kernel/sched/walt/core_ctl.c +++ b/kernel/sched/walt/core_ctl.c @@ -1159,8 +1159,6 @@ static void __ref do_core_ctl(void) for_each_cluster(cluster, index) { - eval_need(cluster); - need = apply_limits(cluster, cluster->need_cpus); if (adjustment_possible(cluster, need)) {