Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58fb8220 authored by Rebecca Schultz Zavin's avatar Rebecca Schultz Zavin
Browse files

Raise the viking killer min free values to match the system properties



Change-Id: Idcbdb106d704ef63c9a44e635b6e995e0e5f6479
Signed-off-by: default avatarRebecca Schultz Zavin <rebecca@android.com>
parent 9efdcd96
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -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