Support writeback_limit of zram

mmd applies writeback limit to each writeback. The limit is calculated
from zram statistics and system properties.

The logic mainly comes from swap_management of ChromeOS.

Bug: 375432468
Test: atest libmmd_unit_tests

Change-Id: I40f1c4b1c408a89cce975b493310f762f159d32a
9 files changed
tree: b9fe3825630085bf1e5ef82b7746bdcda70659d7
  1. aidl/
  2. src/
  3. .gitignore
  4. Android.bp
  5. flags.aconfig
  6. mmd.rc
  7. OWNERS
  8. PREUPLOAD.cfg
  9. TEST_MAPPING