ANDROID: binder: remove proc waitqueue
authorMartijn Coenen <maco@google.com>
Fri, 2 Jun 2017 18:15:44 +0000 (11:15 -0700)
committerMartijn Coenen <maco@android.com>
Wed, 19 Jul 2017 08:12:50 +0000 (10:12 +0200)
commit22d64e432c049f99cfd53058b2f532dd996772de
tree750b3e8ed82ce245c7184104042002d64e934d8e
parent3f353c3ed4242c672c118b1701e572e8f35db220
ANDROID: binder: remove proc waitqueue

Removes the process waitqueue, so that threads
can only wait on the thread waitqueue. Whenever
there is process work to do, pick a thread and
wake it up.

This also fixes an issue with using epoll(),
since we no longer have to block on different
waitqueues.

Bug: 34461621
Change-Id: I2950b9de6fa078ee72d53c667a03cbaf587f0849
Signed-off-by: Martijn Coenen <maco@google.com>
drivers/android/binder.c