mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02:00
sched/walt: add lowlatency support for key binder transactions
The current change protects only binder transactions targeted towards an RT process. This change attempts to consider all binder transaction interacting with an RT task. Change-Id: I35cbb695f6709170afa075b1b50d009b17b1b508 Signed-off-by: Kishore Sri venkata Ganesh Bolisetty <quic_bsrivenk@quicinc.com> Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
This commit is contained in:
parent
d3e9a484ac
commit
774bb80375
|
|
@ -987,10 +987,10 @@ static void walt_binder_low_latency_set(void *unused, struct task_struct *task,
|
|||
|
||||
if (unlikely(walt_disabled))
|
||||
return;
|
||||
if (task && current->signal &&
|
||||
(current->signal->oom_score_adj == 0) &&
|
||||
((current->prio < DEFAULT_PRIO) ||
|
||||
(task->group_leader->prio < MAX_RT_PRIO)))
|
||||
if (task && ((task_in_related_thread_group(current) &&
|
||||
task->group_leader->prio < MAX_RT_PRIO) ||
|
||||
(current->group_leader->prio < MAX_RT_PRIO &&
|
||||
task_in_related_thread_group(task))))
|
||||
wts->low_latency |= WALT_LOW_LATENCY_BINDER;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user