klte-common: Don't set swappiness to 100
* Don't do this, it destroys performance! * Android uses memory cgroups to manage ZRAM. Memcg allows you to view stats as well as set options like swappiness on a per-cg basis. In the main init.rc, the background cgroup already has it's swappiness set to 100. This patch sets it globally, which will aggressively swap even foreground tasks into ZRAM which has a huge amount of overhead. Change-Id: I9f39b830e5817f796a42c377696864aec9bf2f22
This commit is contained in:
parent
878439b046
commit
e2db03e00f
|
@ -54,7 +54,6 @@ on init
|
|||
|
||||
on fs
|
||||
mount_all fstab.qcom
|
||||
write /proc/sys/vm/swappiness 100
|
||||
swapon_all fstab.qcom
|
||||
|
||||
restorecon_recursive /efs
|
||||
|
|
Loading…
Reference in New Issue