summaryrefslogtreecommitdiff
path: root/libsparse/sparse.cpp
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2019-04-18 14:56:24 -0700
committerWei Wang <wvw@google.com>2019-04-18 16:14:08 -0700
commit45d8174fe7b6f35883f74ceefdf591b209f1fab2 (patch)
treedf599c65a8fc7afef44ef70a77047dd337734c37 /libsparse/sparse.cpp
parentd71d30179ca14991c22f65a0d23ddc6686735477 (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
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions