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
commitae3d6f0392f4d8d69dcfa4d15bfd9fdd8f631bc8 (patch)
treedf599c65a8fc7afef44ef70a77047dd337734c37 /libsparse/sparse.cpp
parente6ab4237e1eaba3006253fb269f173e8998d9154 (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