Commit c6e18971 authored by kuyo chang's avatar kuyo chang Committed by Treehugger Robot
Browse files

ANDROID: sched/rt: fix rt balance push



The commit : ANDROID: sched: Fix rt/dl load balancing via chain level balance
cause sched RT balance abnormal.

It uses affinity to CPU0 to determine whether an RT task can be pushed.
This resulting in RT tasks whose affinity does not
include CPU0 being unable to be balanced while sched_proxy_exec is not enabled..
Fix the __task_is_pushable return value(should be 1 or -1).

Bug: 423451285
Fixes: 9bad78b6 ("ANDROID: sched: Fix rt/dl load balancing via chain level balance")
Change-Id: I6c7b6c41e64b4a82435f3b9616db6383e1fc7740
Signed-off-by: default avatarkuyo chang <kuyo.chang@mediatek.com>
Signed-off-by: default avatarkuyo chang <kuyo.chang@mediatek.corp-partner.google.com>
parent bdad3fc9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment