platform_system_core/lmkd
Mark Salyzyn 721d7c7fa3 lmkd: only mlockall() if enabled
Move process initialization, mlockall() and sched_setscheduler() to
only occur if initialization succeeds and is enabled.  This
conserves mlock'd memory and a FIFO processing slot if (deprecated)
kernel lowmemorykiller is active.

Cleanup: Android coding standard compliance.

Test: lmkd_unit_test
Bug: 33808187
Bug: 72838192
Change-Id: I51af0235c8eca4ef958ef2d83a8071ff58b49d78
2018-04-03 14:41:26 +00:00
..
include lmkd: Introduce liblmkd_utils for communicating with lmkd process 2018-03-09 11:18:53 -08:00
tests lmkd: test: access /sys/module/lowmemorykiller/ as u:r:shell:s0 2018-04-03 14:41:11 +00:00
Android.bp lmkd: only mlockall() if enabled 2018-04-03 14:41:26 +00:00
liblmkd_utils.c lmkd: Introduce liblmkd_utils for communicating with lmkd process 2018-03-09 11:18:53 -08:00
lmkd.c lmkd: only mlockall() if enabled 2018-04-03 14:41:26 +00:00
lmkd.rc Enable hidepid=2 on /proc 2015-11-09 09:08:46 -08:00
OWNERS Add lmkd/OWNERS. 2017-12-08 16:12:58 -08:00