]> git.baikalelectronics.ru Git - kernel.git/commit
binder: refactor binder_pop_transaction
authorTodd Kjos <tkjos@android.com>
Thu, 29 Jun 2017 19:01:54 +0000 (12:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 12:47:30 +0000 (14:47 +0200)
commite7ece410ea4c93347581e336e0c6f7576719f744
tree09c1fc3f387bb0d21c163532c988916262728f6d
parentdfb24a8f18077e713579e1edfbfdf510fc0c3f83
binder: refactor binder_pop_transaction

binder_pop_transaction needs to be split into 2 pieces to
to allow the proc lock to be held on entry to dequeue the
transaction stack, but no lock when kfree'ing the transaction.

Split into binder_pop_transaction_locked and binder_free_transaction
(the actual locks are still to be added).

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