Merge "Revert "sched: walt: Improve the Scheduler""

This commit is contained in:
qctecmdr 2021-12-14 09:36:21 -08:00 committed by Gerrit - the friendly Code Review server
commit 15f1f7aca6

View File

@ -3992,14 +3992,10 @@ static void android_rvh_try_to_wake_up_success(void *unused, struct task_struct
{
unsigned long flags;
int cpu = p->cpu;
struct walt_task_struct *wts = (struct walt_task_struct *) p->android_vendor_data1;
if (unlikely(walt_disabled))
return;
if (wts->mvp_list.prev == NULL && wts->mvp_list.next == NULL)
init_new_task_load(p);
raw_spin_lock_irqsave(&cpu_rq(cpu)->lock, flags);
if (do_pl_notif(cpu_rq(cpu)))
waltgov_run_callback(cpu_rq(cpu), WALT_CPUFREQ_PL);