diff options
author | Edgar Arriaga <edgararriaga@google.com> | 2020-08-12 13:03:57 -0700 |
---|---|---|
committer | Edgar Arriaga GarcĂa <edgararriaga@google.com> | 2021-01-27 23:50:51 +0000 |
commit | 555af828c7570f7ce5da03d4839c4733728b9643 (patch) | |
tree | 6d8c96274fcc608ce337ae23c1f861ed312f14bb /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d23e082711b67a6b4f9fb983cacff7563059ce86 (diff) |
Migrate to use process_madvise syscall instead of procfs interface for memory compaction
Currently the system uses procfs and we are migrating to use a syscall called process_madvise
which makes the code upstreamable and will allow for making compaction widely available for multiple
android devices.
It also opens room for future developments that involve a finer grain VMA compressions
than the current procfs allows.
Test: Ran the system without crashes and verified am_compact was effectively showing compressed memory (free zram reduced) when compressing.
Bug: 162993824
Test: Manual, verified that zram was being increased over time after compactions happened
Change-Id: I9d9d895aee7fbc46a2f12f6ca080ab8457ea7222
(cherry picked from commit 8a41690efc576b731669ce165de66fdc6eee273d)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions