Re: Overcomittable memory

From: David Whysong (dwhysong@physics.ucsb.edu)
Date: Mon Mar 20 2000 - 22:12:13 EST


On Mon, 20 Mar 2000, James Sutherland wrote:
>On Mon, 20 Mar 2000 19:04:06 +0000, you wrote:

[Lots of sensible stuff deleted]

>>It's the ability to request non-overcommit that's essential, and I don't
>>see what you have against it. With the current scheme of things this is
>>impossible.
>
>No it isn't. Just touch the memory on allocation.
[...]
>If you want non-overcommitted memory, just touch it on allocation.
>That's it. No need to mangle the kernel or anything else.

As I have repeatedly stated, this does NOT prevent overcommit. You still
have stack growth, kernel modules, other process heaps, etc. to deal with.

Currently there is no way to disable overcommit in Linux.

Dave

David Whysong dwhysong@physics.ucsb.edu
Astrophysics graduate student University of California, Santa Barbara
My public PGP keys are on my web page - http://www.physics.ucsb.edu/~dwhysong
DSS PGP Key 0x903F5BD6 : FE78 91FE 4508 106F 7C88 1706 B792 6995 903F 5BD6
D-H PGP key 0x5DAB0F91 : BC33 0F36 FCCD E72C 441F 663A 72ED 7FB7 5DAB 0F91

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:31 EST