am 58fb8220: Raise the viking killer min free values to match the system properties
* commit '58fb822024a04641d5ca1d0341456a2706aee853': Raise the viking killer min free values to match the system properties
This commit is contained in:
commit
e442cff05f
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