ANDROID: binder: remove proc waitqueue
authorMartijn Coenen <maco@android.com>
Thu, 31 Aug 2017 08:04:18 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Sep 2017 07:20:12 +0000 (09:20 +0200)
commit1b77e9dcc3da9359f5936a7a4a0b5b6585c5e37e
tree6cb0abfb5ca3a144a8b9a1e6b80d096c8d8f54f3
parent8ef4665aa129a14f3733efc651c53a3c6c47b500
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. Having the caller pick a thread is
helpful for things like priority inheritance.

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

Signed-off-by: Martijn Coenen <maco@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c