Commit 967fb0e7 authored by hmz007's avatar hmz007

android: rk3399: update zramsize and swappiness

Signed-off-by: 's avatarhmz007 <hmz007@gmail.com>
parent 14722d0b
......@@ -22,4 +22,4 @@
# for usb3.0
/devices/platform/usb@*/*.dwc3* auto vfat defaults voldmanaged=usb:auto
/dev/block/zram0 none swap defaults zramsize=533413200
/dev/block/zram0 none swap defaults zramsize=201326592
......@@ -22,4 +22,4 @@
# for usb3.0
/devices/platform/usb@*/*.dwc3* auto vfat defaults voldmanaged=usb:auto
/dev/block/zram0 none swap defaults zramsize=533413200
/dev/block/zram0 none swap defaults zramsize=201326592
......@@ -22,4 +22,4 @@
# for usb3.0
/devices/platform/usb@*/*.dwc3* auto vfat defaults voldmanaged=usb:auto
/dev/block/zram0 none swap defaults zramsize=533413200
/dev/block/zram0 none swap defaults zramsize=201326592
......@@ -22,4 +22,4 @@
# for usb3.0
/devices/platform/usb@*/*.dwc3* auto vfat defaults voldmanaged=usb:auto
/dev/block/zram0 none swap defaults zramsize=533413200
/dev/block/zram0 none swap defaults zramsize=201326592
......@@ -15,3 +15,5 @@ on init
chmod 0664 /sys/class/devfreq/ff9a0000.gpu/min_freq
chown root system /sys/class/devfreq/ff9a0000.gpu/max_freq
chmod 0664 /sys/class/devfreq/ff9a0000.gpu/max_freq
write /dev/memcg/memory.swappiness 90
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment