Raise the viking killer min free values to match the system properties
Change-Id: Idcbdb106d704ef63c9a44e635b6e995e0e5f6479 Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
This commit is contained in:
parent
9efdcd969e
commit
58fb822024
2 changed files with 2 additions and 1 deletions
|
|
@ -49,3 +49,4 @@
|
|||
# ************************************************
|
||||
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc)
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ on boot
|
|||
|
||||
write /proc/sys/vm/overcommit_memory 1
|
||||
write /proc/sys/vm/min_free_order_shift 4
|
||||
write /sys/module/lowmemorykiller/parameters/minfree 2048,3072,4096,6144,7168,8192
|
||||
write /sys/module/lowmemorykiller/parameters/minfree 8192,10240,12288,14336,16384,20480
|
||||
|
||||
# Set init its forked children's oom_adj.
|
||||
write /proc/1/oom_adj -16
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue