Edgar Arriaga c51efbe68f 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
Merged-In: I9d9d895aee7fbc46a2f12f6ca080ab8457ea7222
2021-06-08 00:21:17 +00:00
2021-06-07 13:11:45 +00:00
2021-05-14 15:45:42 +00:00
2021-04-06 00:49:51 +00:00
2021-06-01 23:27:30 +00:00
2019-10-09 19:38:32 +00:00
2020-07-15 13:02:35 +01:00
2020-02-19 19:36:25 -08:00
2021-01-27 12:09:16 -08:00
…
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%