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:
parent
b46fd68653
commit
30ea96e14e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue