FROMLIST: binder: change binder_stats to atomics
authorBadhri Jagan Sridharan <Badhri@google.com>
Thu, 13 Oct 2016 23:36:15 +0000 (16:36 -0700)
committerTodd Kjos <tkjos@google.com>
Thu, 13 Jul 2017 15:34:19 +0000 (08:34 -0700)
commit5551ff2a7d2d9b1ffcc980244b006b38806ac830
treeafefc2954f9531777b90b54a218b89731059869b
parent8d9f6f32799b2e51852278fb3c960221d1fbc30e
FROMLIST: binder: change binder_stats to atomics

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

Use atomics for stats to avoid needing to lock for
increments/decrements

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