diff options
author | Edgar Arriaga <edgararriaga@google.com> | 2022-02-07 16:46:56 -0800 |
---|---|---|
committer | Divyanand Rangu <quic_drangu@quicinc.com> | 2022-03-28 06:46:47 +0000 |
commit | 61b5de7655e3b2513d5bdf2102b0229d326b2267 (patch) | |
tree | 8527c4a0fa40492f14b805b9bcd02fcda818de86 /libs/rs/rsg_ScriptJavaClass.cpp | |
parent | 66547e1c9c4a4bda8cbdf7687da2b599d343f8a0 (diff) |
Improve compaction by skipping bad VMAs instead of fully bailing out
Previously when a VMA failed compaction for any reason the system would
stop trying to compact all the rest of the VMAs and bail out. However,
there are multiple reasons that a VMA can fail due to not being
reclaimable with -EINVAL, in such instances we will just skip the VMA
and keep going with the rest of the VMAs and any other error will still
cause compaction to bail out as it would likely be irrecoverable.
Test: Manual. Verified that once a VMA errors with -EINVAL, it continues
with the rest of the VMAs and other errors bail out.
Bug: 205658049
CRs-Fixed:3121545
Change-Id: Ifc190e371c4dce0eaa6dbab104aa0b666e06027d
(cherry picked from commit 1ec21f5ed784b9b6e49b012b2e99dafb71df6518)
Change-Id: I5642823d6303ad848771a2bf0d7cd466a2ccb589
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions