Thread (14 messages) flat view 14 messages, 5 authors, 2017-11-22

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 resources get tight.

From: Shawn Landden <hidden>
Date: 2017-11-21 05:26:45
Also in: linux-fsdevel, linux-mm, lkml

On Mon, Nov 20, 2017 at 9:16 PM, Shawn Landden [off-list ref] 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 [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help