binder: use inner lock to protect thread accounting
authorTodd Kjos <tkjos@android.com>
Thu, 29 Jun 2017 19:02:07 +0000 (12:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 12:48:24 +0000 (14:48 +0200)
commitb3e6861283790d78f298f2a1bc3ef5fd81b381f4
treeb076b222ccc268f0b0bb30e53fe1c4591c3bb4b3
parent0b89d69a96258810ce2cb8892c95214f4bbe4b25
binder: use inner lock to protect thread accounting

Use the inner lock to protect thread accounting fields in
proc structure: max_threads, requested_threads,
requested_threads_started and ready_threads.

Signed-off-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c