diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-10-30 01:02:41 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-10-30 01:02:41 +0000 |
commit | c68ed626e1cfb0b77ffb6ca6b52261fd5ba5d2d5 (patch) | |
tree | c0b9ba393372f39d4dc3c88dbf513bb864f3b398 | |
parent | e83a53425c7059abb05306fec4bfd2caa4e87c85 (diff) | |
parent | 05eb6055ade67c458d70fa1ec121cd95dfcfac5a (diff) | |
download | crosshatch-c68ed626e1cfb0b77ffb6ca6b52261fd5ba5d2d5.tar.gz |
Snap for 7867461 from 05eb6055ade67c458d70fa1ec121cd95dfcfac5a to sc-d2-release
Change-Id: I4d4b181adc8d09d20b641ddeb926b27ccb032225
-rw-r--r-- | init.hardware.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init.hardware.rc b/init.hardware.rc index 5102b018..eefa04ea 100644 --- a/init.hardware.rc +++ b/init.hardware.rc @@ -548,6 +548,9 @@ on property:sys.boot_completed=1 write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkgate_enable 1 write /sys/devices/platform/soc/${ro.boot.bootdevice}/hibern8_on_idle_enable 1 + # Limit 4KB discards to 2GB of space + write /dev/sys/fs/by-name/userdata/max_small_discards 5120 + # Enable ZRAM on boot_complete rm /data/unencrypted/zram_swap swapon_all /vendor/etc/fstab.${ro.boot.hardware.platform} |