lkml.org 
[lkml]   [2002]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] strict VM overcommit
Date
> 
> How is assured that it's impossible to OOM when the amount of memory
> shrinks?
>
> IOW:
> - allocate very much memory
> - "swapoff -a"

Make swapoff -a return -ENOMEM

I've not done this on the basis that this is root specific stupidity and
generally shouldnt be protected against
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.194 / U:0.340 seconds]
©2003-2014 Jasper Spaans. Advertise on this site