summaryrefslogtreecommitdiffstats
path: root/libprocessgroup/include
Commit message (Collapse)AuthorAgeFilesLines
* Add memcg related configs to init.Robert Benea2017-07-181-0/+4
| | | | | | | | | | Allow configuring memory.swappiness, memory.soft_limit_in_bytes and memory.limit_in_bytes by init; by doing so there is better control of memory consumption per native app. Test: tested on gobo branch. bug: 63765067 Change-Id: I8906f3ff5ef77f75a0f4cdfbf9d424a579ed52bb
* Better logging in libprocessgroup and make resources clean up themselvesTom Cherry2017-05-041-0/+5
| | | | | | | | | | Bug: 36661364 Bug: 36701253 Bug: 37540956 Test: Reboot bullhead Test: Start and stop services Change-Id: I97b6e17a7350850db733bee9fc83bdd296d88c61
* add killProcessGroupOnceKeun-young Park2017-03-291-0/+2
| | | | | | | | | | - killProcessGroup retries if it fails while killProcessGroupOnce only tries once. - useful for sending signal like SIGTERM once. bug: 36696408 Test: will add usage to init Change-Id: Ia1e3d4ec848e785a3238f262b02914695cded4c7
* Add libprocessgroupColin Cross2014-07-091-0/+33
libprocessgroup will allow Zygote to place processes in a cgroup, and then kill the process and all forked processes later. lmkd will also kill all forked processes. Bug: 15313911 Change-Id: I20404d0dbe448f1c475d2f4c61cccca462f9e544