logcat: logcatd: make logcatd killable

Near last resort kill logcatd, set /proc/self/oom_score_adj to -600.

Can kill to keep system_server, telephony and bluetooth.

Test: manual, start logpersist, runs
Bug: 62147352
Change-Id: I3723761bf1d2b79ce6a9557d2e78f91cc5497e96
This commit is contained in:
Mark Salyzyn 2017-05-30 09:01:38 -07:00
parent b46fd68653
commit 30ea96e14e

View file

@ -61,3 +61,4 @@ service logcatd /system/bin/logcatd -L -b ${logd.logpersistd.buffer:-all} -v thr
user logd
group log
writepid /dev/cpuset/system-background/tasks
oom_score_adjust -600