Add TASK_FREEZABLE
See f5d39b0208 (diff-dc675d837f5054b5e96c5fc9fcb77ad08b94607f88b692930132614aa83613b2)
This commit is contained in:
parent
42335c65bc
commit
ab8278c603
|
@ -4114,7 +4114,7 @@ static int binder_wait_for_work(struct binder_thread *thread,
|
||||||
#endif
|
#endif
|
||||||
binder_inner_proc_lock(proc);
|
binder_inner_proc_lock(proc);
|
||||||
for (;;) {
|
for (;;) {
|
||||||
prepare_to_wait(&thread->wait, &wait, TASK_INTERRUPTIBLE);
|
prepare_to_wait(&thread->wait, &wait, TASK_INTERRUPTIBLE|TASK_FREEZABLE);
|
||||||
if (binder_has_work_ilocked(thread, do_proc_work))
|
if (binder_has_work_ilocked(thread, do_proc_work))
|
||||||
break;
|
break;
|
||||||
if (do_proc_work)
|
if (do_proc_work)
|
||||||
|
|
Loading…
Reference in New Issue