Zhang Hua 2023-01-29 16:01:27 +08:00
parent 1b71bbd632
commit 94f161129a
No known key found for this signature in database
GPG Key ID: 69528D6DCD2BE030

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)