mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
Merge "binder: update low_latency selection for binder transactions"
This commit is contained in:
commit
d53cbb3213
1 changed files with 4 additions and 2 deletions
|
|
@ -964,7 +964,8 @@ static void binder_wakeup_poll_threads_ilocked(struct binder_proc *proc,
|
|||
#ifdef CONFIG_SCHED_WALT
|
||||
if (thread->task && current->signal &&
|
||||
(current->signal->oom_score_adj == 0) &&
|
||||
(current->prio < DEFAULT_PRIO))
|
||||
((current->prio < DEFAULT_PRIO) ||
|
||||
(thread->task->group_leader->prio < MAX_RT_PRIO)))
|
||||
thread->task->wts.low_latency |=
|
||||
WALT_LOW_LATENCY_BINDER;
|
||||
#endif
|
||||
|
|
@ -1030,7 +1031,8 @@ static void binder_wakeup_thread_ilocked(struct binder_proc *proc,
|
|||
#ifdef CONFIG_SCHED_WALT
|
||||
if (thread->task && current->signal &&
|
||||
(current->signal->oom_score_adj == 0) &&
|
||||
(current->prio < DEFAULT_PRIO))
|
||||
((current->prio < DEFAULT_PRIO) ||
|
||||
(thread->task->group_leader->prio < MAX_RT_PRIO)))
|
||||
thread->task->wts.low_latency |=
|
||||
WALT_LOW_LATENCY_BINDER;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue