Merge "binder: update low_latency selection for binder transactions"

This commit is contained in:
qctecmdr 2021-02-18 20:55:02 -08:00 committed by Gerrit - the friendly Code Review server
commit 4456f52417

View File

@ -709,7 +709,8 @@ static void walt_binder_low_latency_set(void *unused, struct task_struct *task)
return;
if (task && current->signal &&
(current->signal->oom_score_adj == 0) &&
(current->prio < DEFAULT_PRIO))
((current->prio < DEFAULT_PRIO) ||
(task->group_leader->prio < MAX_RT_PRIO)))
wts->low_latency |= WALT_LOW_LATENCY_BINDER;
}