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

Commit 75e48884 authored by Dima Zavin's avatar Dima Zavin Committed by Android Git Automerger
Browse files

am 3c58933a: am 4a253908: rootdir: init.rc: write default oom_adj before starting ueventd

* commit '3c58933a':
  rootdir: init.rc: write default oom_adj before starting ueventd
parents 99436ca8 3c58933a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
on early-init
    # Set init and its forked children's oom_adj.
    write /proc/1/oom_adj -16

    start ueventd

# create mountpoints
@@ -205,9 +208,6 @@ on boot
    chown root system /sys/module/lowmemorykiller/parameters/minfree
    chmod 0664 /sys/module/lowmemorykiller/parameters/minfree

    # Set init and its forked children's oom_adj.
    write /proc/1/oom_adj -16

    # Tweak background writeout
    write /proc/sys/vm/dirty_expire_centisecs 200
    write /proc/sys/vm/dirty_background_ratio  5