mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-04 21:07:18 +09:00
sm6250-common: Get back to default from long-standing VM tweaks
This patch removed the old writeout policy tune which was never touched since 2009. In the meantime, most of Android devices are equipped with over 4GB DRAM and very fast flash storages like UFS, which becomes more like desktop or servers in 2009. So, it'd be worth to go back to use the default kernel configs. Bug: 136483670 Bug: 137190999 Bug: 152936751 Test: check value output Change-Id: I1ebbf9f1f27a921103db51e96a50aadd6ec0dde8 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Signed-off-by: Martin Liu <liumartin@google.com>
This commit is contained in:
parent
2abc0a364d
commit
117ae7fbf6
@ -167,5 +167,9 @@ on property:sys.boot_completed=1
|
|||||||
# Mount swap partitions specified in fstab
|
# Mount swap partitions specified in fstab
|
||||||
swapon_all /vendor/etc/fstab.qcom
|
swapon_all /vendor/etc/fstab.qcom
|
||||||
|
|
||||||
|
# Back to default VM settings
|
||||||
|
write /proc/sys/vm/dirty_expire_centisecs 3000
|
||||||
|
write /proc/sys/vm/dirty_background_ratio 10
|
||||||
|
|
||||||
on property:ro.boot.multisim_config=*
|
on property:ro.boot.multisim_config=*
|
||||||
setprop persist.radio.multisim.config ${ro.boot.multisim_config}
|
setprop persist.radio.multisim.config ${ro.boot.multisim_config}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user