Re: [PATCH] strict VM overcommit

From: Alan Cox (alan@redhat.com)
Date: Fri Jul 19 2002 - 19:32:57 EST


>
> 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/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:32 EST