[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+49okr0PC5sOuLQfuBt3J6KtWANa4eYoDpqOvp7rbQ9JDWQ5Q@mail.gmail.com>
Date: Mon, 20 Nov 2017 21:26:45 -0800
From: Shawn Landden <slandden@...il.com>
To: Shawn Landden <slandden@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-mm@...ck.org, linux-api@...r.kernel.org,
Michal Hocko <mhocko@...nel.org>, willy@...radead.org
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 resources get tight.
On Mon, Nov 20, 2017 at 9:16 PM, Shawn Landden <slandden@...il.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@...bum.org>
Powered by blists - more mailing lists