sched/walt: Temporarily disable sibling_count_hint

The core kernel side has race conditions which lead to memory faults.
Disable this feature temporarily.

Change-Id: I0013753d571f1e7265ce385a1130f2671c574ab0
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
This commit is contained in:
Shaleen Agrawal 2021-02-08 22:05:41 -08:00 committed by Rishabh Bhatnagar
parent 28fa7231ac
commit 7fc920beca

View File

@ -666,7 +666,7 @@ walt_select_task_rq_fair(void *unused, struct task_struct *p, int prev_cpu,
int sd_flag, int wake_flags, int *target_cpu)
{
int sync = (wake_flags & WF_SYNC) && !(current->flags & PF_EXITING);
int sibling_count_hint = p->wake_q_head ? p->wake_q_head->count : 1;
int sibling_count_hint = 1;
if (static_branch_unlikely(&walt_disabled))
return;