commit | 7e34869ebd3df187a31f7240fb527a0f466945f0 | [log] [tgz] |
---|---|---|
author | Edgar Arriaga <edgararriaga@google.com> | Thu Feb 25 19:20:05 2021 -0800 |
committer | Edgar Arriaga <edgararriaga@google.com> | Tue Mar 02 11:52:48 2021 -0800 |
tree | 53afe7cafd3fe52127b7d953014308cb082ca016 | |
parent | baee28f4341c0321bbd9d4ccf8bfc2822110e40a [diff] |
Avoid unnecessary smaps logic during app compaction ForEachVma can extract data from both maps and smaps files, however the smaps logic is not used during app compaction. Replace its usage with ForEachVmaFromMaps which reads only maps file and skips any smaps logic. This results in ~22% CPU usage reduction. Test: Manual Bug: 181174877 Signed-off-by: Edgar Arriaga <edgararriaga@google.com> Change-Id: I165f211c2084676bc7872d190ffad14141f56ea8