Re: Correctly determine amount of "free memory"

From: bert hubert
Date: Mon Dec 06 2004 - 10:17:00 EST


On Mon, Dec 06, 2004 at 04:53:34PM +0200, Gregory Giguashvili wrote:
> Assuming that I define "free memory" as maximum memory that can be
> allocated without causing swapping, is there a way I can give the best
> "free memory" amount estimate?

On the side, it would not hurt to study 'overcommit' and mlock(2). The
answer to your question is not static unless care is taken.

--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
-
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/