From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] plan 9 overcommits memory? From: Charles Forsyth Date: Mon, 3 Sep 2007 23:43:57 +0100 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: b7064e00-ead2-11e9-9d60-3106f5b1d025 > to any process. suppose i start a program that allocates 8k but between > the malloc and the memset, another program uses the last available > page in memory, then my original program faults. yes, and you'll always have to deal with that in some form or another. i've started a program, it allocates some memory, is guaranteed to have it (unlike the current system), but later, some other program allocates enough memory that mine can't get any more, memory that mine needs to finish (perhaps during an output phase). my original program fails, even though the system guarantees physical memory for all virtual memory allocations.