FROMLIST: binder: use inner lock to protect thread accounting
authorTodd Kjos <tkjos@google.com>
Fri, 26 May 2017 00:35:02 +0000 (17:35 -0700)
committerTodd Kjos <tkjos@google.com>
Thu, 13 Jul 2017 15:34:22 +0000 (08:34 -0700)
commitd600e9070ac5693474fce4bb772186c5d674fc29
tree0d9507ba010142b0d57830c4dfbe30bc8d2ea99c
parent995a36e0402b844483e82498ca651c4a022ca608
FROMLIST: binder: use inner lock to protect thread accounting

(from https://patchwork.kernel.org/patch/9817763/)

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

Change-Id: I8cf519f40ddfe4fd00d99b82fdb88dc069611787
Signed-off-by: Todd Kjos <tkjos@google.com>
drivers/android/binder.c