summaryrefslogtreecommitdiffstats
path: root/fastbootd/transport.c
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2015-05-01 14:05:04 -0700
committerIliyan Malchev <malchev@google.com>2015-05-01 23:04:04 -0700
commit3ea902f25291e7c91a3a8f73d0f64bfd3de548b6 (patch)
treeaf4c1c41e11b8983a0d0a54fe66ba05668263093 /fastbootd/transport.c
parent4fca59181c838b91572d1b57cb74b26d0a70528f (diff)
downloadsystem_core-3ea902f25291e7c91a3a8f73d0f64bfd3de548b6.zip
system_core-3ea902f25291e7c91a3a8f73d0f64bfd3de548b6.tar.gz
system_core-3ea902f25291e7c91a3a8f73d0f64bfd3de548b6.tar.bz2
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>
Diffstat (limited to 'fastbootd/transport.c')
0 files changed, 0 insertions, 0 deletions