mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
davinci: rootdir: Don't configure zram in init.qcom.post_boot.sh
* let it use the size which is set in fstab Change-Id: Ie84d0674a643e637d5ef894399d76ede25d00eeb
This commit is contained in:
@@ -135,6 +135,14 @@ on property:sys.boot_completed=1
|
||||
write /sys/module/cpu_boost/parameters/input_boost_freq "0:1324800"
|
||||
write /sys/module/cpu_boost/parameters/input_boost_ms 120
|
||||
|
||||
# Set allocstall_threshold to 0
|
||||
# Set swappiness to 100
|
||||
write /sys/module/vmpressure/parameters/allocstall_threshold 0
|
||||
write /proc/sys/vm/swappiness 100
|
||||
|
||||
# Enable ZRAM on boot_complete
|
||||
swapon_all /vendor/etc/fstab.qcom
|
||||
|
||||
service vendor.pd_mapper /vendor/bin/pd-mapper
|
||||
class core
|
||||
user system
|
||||
|
||||
Reference in New Issue
Block a user