Zhang Hua 2023-01-29 16:01:27 +08:00 committed by Christian Hoff
parent 42335c65bc
commit ab8278c603
1 changed files with 1 additions and 1 deletions

View File

@ -4114,7 +4114,7 @@ static int binder_wait_for_work(struct binder_thread *thread,
#endif
binder_inner_proc_lock(proc);
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))
break;
if (do_proc_work)