RE: Kswapd flaw

From: Al Boldi
Date: Tue Jun 28 2005 - 06:49:23 EST


On 28 Jun 2005, Al Boldi murmured woefully:
> Kswapd starts evicting processes to fullfil a malloc, when it should
> just deny it because there is no swap.
Nix wrote:
> I can't even tell what you're expecting. Surely not that no pages are ever
evicted or flushed;
> your memory would fill up with page cache in no time.

Nix,
Please do flush anytime, and do it in sync during OOMs; but don't evict
procs especially not RUNNING procs, that is overkill.


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