From owner-freebsd-hackers Sun Nov 16 17:46:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA01028 for hackers-outgoing; Sun, 16 Nov 1997 17:46:38 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA01020 for ; Sun, 16 Nov 1997 17:46:35 -0800 (PST) (envelope-from michaelh@cet.co.jp) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.8.8/CET-v2.2) with SMTP id BAA20722; Mon, 17 Nov 1997 01:45:53 GMT Date: Mon, 17 Nov 1997 10:45:53 +0900 (JST) From: Michael Hancock To: Charles Mott cc: hackers@FreeBSD.ORG Subject: Re: Is fork() copy-on-write ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 16 Nov 1997, Charles Mott wrote: > I was curious to know when a process is forked, are the new vm pages which > are created copy-on-write? > > [I know, I know I should just go look at the source code, but I haven't > quite got up the nerve to start looking at that area. It is sort of like > peering over a cliff into an infinite abyss.] If you're ready to make a jump, start here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_fork.c?rev=1.48