commit | 5b55587f5bc298cbf9f5b140a1fe06b410cbb51b | [log] [tgz] |
---|---|---|
author | Li Li <dualli@google.com> | Thu Nov 10 09:59:24 2022 -0800 |
committer | Li Li <dualli@google.com> | Wed Nov 16 03:31:16 2022 +0000 |
tree | fcbb333d2282915e05d71c0c55b86f872cdcdd06 | |
parent | 00399566696219315262625450fba6dd557a42ae [diff] |
Freezer: improve file lock exemption When a process becomes cached and holds file locks blocking other processes, check whether those blocked processes are also in cached mode. If they are also cached, freeze the current process. Otherwise, Skip the current process to avoid deadlock. Bug: 245994713 Bug: 253913470 Test: atest ProcLocksReaderTest Test: verify apps with deadlock can be frozen Change-Id: I8635bf877bbe4404cc66955f1946444265680246