commit | f92de2f6dbd107840768bd637f8394dc31abfa17 | [log] [tgz] |
---|---|---|
author | Li Li <dualli@google.com> | Tue Feb 13 11:49:07 2024 -0800 |
committer | Li Li <dualli@google.com> | Tue Feb 13 11:49:07 2024 -0800 |
tree | c743db615c282a738e7c8bc204b42d3cc89bee66 | |
parent | 6139d58767f26552c9ae12a5893e01e180d78041 [diff] |
Fix lock contention in CAO.binderError handler CAO.binderError handler already has a local copy of frozen pids. It's not necessary to hold Freezer lock. Holding the Freezer lock here actually causes lock contention as the CAO thread might be preempted for multiple seconds, blocking unfreeze operations in freezeHandler. Bug: 323393888 Test: frozen apps receiving unexpected binder transactions can be killed Change-Id: I8d6f1b2327dae76b61ef6f4d7f39d66a85f313f1