FROMLIST: binder: change binder_stats to atomics
authorBadhri Jagan Sridharan <Badhri@google.com>
Thu, 13 Oct 2016 23:36:15 +0000 (16:36 -0700)
committerDanny Wood <danwood76@gmail.com>
Tue, 26 Feb 2019 11:36:30 +0000 (11:36 +0000)
commit340b5f86930752f0c0d7be793998a0a7d41c0730
treec98cc6e7d61e8810289da420408b831dbb08a8cc
parent76341f6fb81faa9d74f8508a9a28ed2f80c91148
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

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