* commit '3c58933aa785ab26f77284f6a1a4e93d2ebfcf04': rootdir: init.rc: write default oom_adj before starting ueventd
This commit is contained in:
commit
75e488841d
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,7 @@
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue