Messages in this thread |  | | From | Shawn Landden <> | Date | Mon, 20 Nov 2017 21:26:45 -0800 | Subject | Re: [RFC v4] It is common for services to be stateless around their main event loop. If a process sets PR_SET_IDLE to PR_IDLE_MODE_KILLME then it signals to the kernel that epoll_wait() and friends may not complete, and the kernel may send SIGKILL if res |
| |
On Mon, Nov 20, 2017 at 9:16 PM, Shawn Landden <slandden@gmail.com> wrote: > See my systemd patch: https://github.com/shawnl/systemd/tree/prctl > > Android uses this memory model for all programs, and having it in the > kernel will enable integration with the page cache (not in this > series). What about having a dedicated way to kill these type of processes, instead of overloading the OOM killer? This was suggested by Colin Walters <walters@verbum.org>
|  |