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:
Steve Kondik 2015-08-16 01:56:17 -07:00 committed by Kevin F. Haggerty
parent 878439b046
commit e2db03e00f
1 changed files with 0 additions and 1 deletions

View File

@ -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