Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1659191

Re: [RFC PATCH v2 1/7] mm, oom: refactor select_bad_process() to take memcg as an argument

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v2 1/7] mm, oom: refactor select_bad_process() to take memcg as an argument
Date 2017-06-06 22:50 +0200
Message-ID <tPtAl-5iT-11@gated-at.bofh.it> (permalink)
References <tOJnP-Yc-7@gated-at.bofh.it> <tOJnP-Yc-9@gated-at.bofh.it> <tOMF3-2QU-7@gated-at.bofh.it> <tPtAl-5iT-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 6 Jun 2017, Roman Gushchin wrote:

> Hi David!
> 
> Thank you for sharing this!
> 
> It's very interesting, and it looks like,
> it's not that far from what I've suggested.
> 
> So we definitily need to come up with some common solution.
> 

Hi Roman,

Yes, definitely.  I could post a series of patches to do everything that 
was listed in my email sans the fully inclusive kmem accounting, which may 
be pursued at a later date, if it would be helpful to see where there is 
common ground?

Another question is what you think about userspace oom handling?  We 
implement our own oom kill policies in userspace for both the system and 
for user-controlled memcg hierarchies because it often does not match the 
kernel implementation and there is some action that can be taken other 
than killing a process.  Have you tried to implement functionality to do 
userspace oom handling, or are you considering it?  This is the main 
motivation behind allowing an oom delay to be configured.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH v2 1/7] mm, oom: refactor select_bad_process() to  take memcg as an argument David Rientjes <rientjes@google.com> - 2017-06-05 01:00 +0200
  Re: [RFC PATCH v2 1/7] mm, oom: refactor select_bad_process() to  take memcg as an argument David Rientjes <rientjes@google.com> - 2017-06-06 22:50 +0200

csiph-web