Re: [PATCH] strict VM overcommit

Alan Cox (alan@lxorguk.ukuu.org.uk)
21 Jul 2002 17:46:35 +0100


On Sun, 2002-07-21 at 13:46, Adrian Bunk wrote:
> With enough stupidity root can always trash his system but if as Robert
> says the state of the system will be that "no allocations will succeed"
> which seems to be a synonymous for "the system is practically dead" it is
> IMHO a good idea to let "swapoff -a return -ENOMEM".

In the overcommit mode I already suggested that. An administrator can
turn off overcommit protection if he really really needs to swapoff
regardless of the consequences (eg failing swap disk)

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