Re: [PATCH] strict VM overcommit

Alan Cox (alan@redhat.com)
Fri, 19 Jul 2002 20:32:57 -0400 (EDT)


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