FROMLIST: binder: refactor binder_pop_transaction
authorTodd Kjos <tkjos@google.com>
Fri, 31 Mar 2017 01:02:13 +0000 (18:02 -0700)
committerTodd Kjos <tkjos@google.com>
Thu, 13 Jul 2017 15:34:20 +0000 (08:34 -0700)
commit21ef40a9d8c5ab68729263e507102cb416a6dfb2
treea8e64c1e6c96f92a2daaf79470a837931c5878fe
parent1cfe62771e5dc690ca4b6da81864babc19c48967
FROMLIST: binder: refactor binder_pop_transaction

(from https://lkml.org/lkml/2017/6/29/754)

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).

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