diff options
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 46af96c..3f7cbc3 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -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 @@ -204,9 +207,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 |