commit | 72196393a5e3d28c21679e3b745c06dd4a5b24c9 | [log] [tgz] |
---|---|---|
author | Todd Kjos <tkjos@android.com> | Thu Jun 29 12:02:02 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 17 14:48:24 2017 +0200 |
tree | 69ac0b6518bdb24544f27ee65e0cdc46ae188597 | |
parent | ed29721e22e30939f417a2f734c0bfb3a980647d [diff] |
binder: add spinlocks to protect todo lists The todo lists in the proc, thread, and node structures are accessed by other procs/threads to place work items on the queue. The todo lists are protected by the new proc->inner_lock. No locks should ever be nested under these locks. As the name suggests, an outer lock will be introduced in a later patch. Signed-off-by: Todd Kjos <tkjos@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>