commit | 3ea902f25291e7c91a3a8f73d0f64bfd3de548b6 | [log] [tgz] |
---|---|---|
author | Iliyan Malchev <malchev@google.com> | Fri May 01 14:05:04 2015 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Fri May 01 23:04:04 2015 -0700 |
tree | af4c1c41e11b8983a0d0a54fe66ba05668263093 | |
parent | 4fca59181c838b91572d1b57cb74b26d0a70528f [diff] |
fs_mgr: allow for zramsize to be specified as percentage of total memory If the zramsize entry has a % size at the end, as in the following example: /dev/block/zram0 none swap defaults zramsize=25% then we will set the value as that percentage of total RAM, as read by scanning /proc/meminfo. b/20760266 Seed common build allocated too much for zRAM-backed swap Change-Id: I17c91d311ba99ae7adae112bfe1b38542ea69b80 Signed-off-by: Iliyan Malchev <malchev@google.com>