lkml.org 
[lkml]   [2014]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Patch v4 1/2] freezer: check OOM kill while being frozen
Date
On Thursday, September 11, 2014 04:04:48 PM Michal Hocko wrote:
> On Thu 11-09-14 16:17:56, Rafael J. Wysocki wrote:
> [...]
> > And I'm still wondering if the OOM killer may be made avoid killing frozen
> > tasks.
>
> This is really tricky. OOM killer aims at the biggest memory hog. We
> shouldn't ignore it just because it hides into the fridge... So even
> if we "fix" oom killer to ignore frozen tasks (which is inherently
> racy btw.) then we have a potential problem of freezer abuse (e.g. in
> container environments). So I strongly believe that the OOM killer has
> to be able to kill a frozen tasks.

OK

Is the OOM killer the only place where TIF_MEMDIE is set?

Rafael



\
 
 \ /
  Last update: 2014-09-11 16:41    [W:0.057 / U:2.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site