commit | 45d8174fe7b6f35883f74ceefdf591b209f1fab2 | [log] [tgz] |
---|---|---|
author | Wei Wang <wvw@google.com> | Thu Apr 18 14:56:24 2019 -0700 |
committer | Wei Wang <wvw@google.com> | Thu Apr 18 16:14:08 2019 -0700 |
tree | df599c65a8fc7afef44ef70a77047dd337734c37 | |
parent | d71d30179ca14991c22f65a0d23ddc6686735477 [diff] |
init: set oom_adj early before fork vendor_init right now vendor_init is forked before we set oom_adj for init which leaves a chance vendor_init could be killed in heavy memory pressure. this CL set the oom_adj before forking everything to ensure all native have correct oom_adj settings. Fixes: 130824864 Test: procrank -o Change-Id: I8af129076c3efa29f7b781459449f8f2dc853c98