Re: Kswapd flaw

From: Paulo Marques
Date: Tue Jun 28 2005 - 09:59:05 EST


Al Boldi wrote:
On Mon, Jun 27, 2005 at 11:04:08PM +0300, Al Boldi wrote:

In 2.4.31 kswapd starts paging during OOMs even w/o swap enabled.

Is there a way to fix/disable this behaviour?


Marcelo,

Kswapd starts evicting processes to fullfil a malloc, when it should just
deny it because there is no swap.

I think what you really want is to adjust your "overcommit" settings.

See: "Documentation/vm/overcommit-accounting"

--
Paulo Marques - www.grupopie.com

It is a mistake to think you can solve any major problems
just with potatoes.
Douglas Adams
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/