OSDN Git Service

binder: make binder_last_id an atomic
authorTodd Kjos <tkjos@android.com>
Thu, 29 Jun 2017 19:01:45 +0000 (12:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 12:47:29 +0000 (14:47 +0200)
commit656a800aad6051ccc81b26c388a2a7a1c8cc8c81
treeba7b4cbe824257fd6497b46cf294d03f2c0a1a0f
parent0953c7976c36ce06a4e92b9a23cfb8f1bbe2321f
binder: make binder_last_id an atomic

Use an atomic for binder_last_id to avoid locking it

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