commit | 817f80c2b33b6f0eccae11549d197edafc6f811b | [log] [tgz] |
---|---|---|
author | Martin Liu <liumartin@google.com> | Thu Nov 26 14:26:12 2020 +0800 |
committer | Martin Liu <liumartin@google.com> | Tue Dec 08 08:32:58 2020 +0800 |
tree | 4284818f575188ce2e1ba4649aa24045114c947b | |
parent | 6840cc7085cc542bc8b339ce9b551366454a519b [diff] |
Optimize SwapOffsets() to skip parsing unused information It's not needed to request pagecount when getting swap_offsets. Adding a parameter to support swap only so we could deduct extra overhead and file permission request. Test: build Bug: 174935968 Change-Id: I46970275d3c625bd15420c89a5f43d773038582d