Skip to content

Commit

Permalink
ANDROID: binder: remove proc waitqueue
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martijn Coenen authored and Greg Kroah-Hartman committed Sep 1, 2017
1 parent 8ef4665 commit 1b77e9d
Showing 1 changed file with 181 additions and 74 deletions.
Loading

0 comments on commit 1b77e9d

Please sign in to comment.