universal7885: enable zram writeback

Enable Zram writeback feature to allow unused pages in zram be written to flash.

Bug: 128889899
Test: Boot to home

Change-Id: I48ae06e54a66a7d6965afbe8db3d2f157cf8a1f4
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
Jenhao Chen 2019-03-20 14:57:51 -07:00 committed by roynatech2544
commit 30db4a7d90
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
3 changed files with 12 additions and 2 deletions

View file

@ -1 +1,2 @@
/dev/block/zram0 none swap defaults zramsize=100%,max_comp_streams=8
/dev/block/zram0 none swap defaults zramsize=100%,max_comp_streams=8,zram_loopback_path=/data/unencrypted/zram_swap,zram_loopback_size=512M