Messages in this thread | | | Subject | RE: Correctly determine amount of "free memory" | Date | Mon, 6 Dec 2004 17:57:09 +0200 | From | "Gregory Giguashvili" <> |
| |
> 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. I'm using mlock(2), but the problem is that I need to allocate as much memory as possible without causing swapping, so I need to have _rough_ estimate before actually allocating the memory.
Thanks, Giga - 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/
| |