From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <25aab6ef0bbc286f09ce55dd10af0979@terzarima.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] plan 9 overcommits memory? From: Charles Forsyth Date: Tue, 4 Sep 2007 16:18:45 +0100 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: b79f08ac-ead2-11e9-9d60-3106f5b1d025 i can't remember whether anyone pointed this out as well (probably): you'll need to ensure that each fork reserves as many physical pages as are currently shared in the data space, for the life of the shared data, so that every subsequent copy-on-write is guaranteed to succeed. this will prevent some large processes from forking to exec much smaller images.