Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 1998 16:45:59 -0700
From:      Jason Thorpe <thorpej@nas.nasa.gov>
To:        Mike Smith <mike@smith.net.au>
Cc:        "Ron G. Minnich" <rminnich@sarnoff.com>, hackers@FreeBSD.ORG
Subject:   Re: sfork()? 
Message-ID:  <199808192345.QAA02742@lestat.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
On Wed, 19 Aug 1998 16:37:57 +0000 
 Mike Smith <mike@smith.net.au> wrote:

 > Talk to John Dyson and perhaps check the archives to see why our 
 > rfork() behaves like this.  If it turns out that our rfork() is wrong, 
 > or bad, or nonstandard, then please submit some diffs to fix it.

Basically, the FreeBSD rfork() doens't implement the Plan 9 semantics for
RFMEM.  The FreeBSD version does full sharing of address space, a'la
3BSD vfork().

In NetBSD, we decided not to adopt rfork() (for now, anyhow) because
the Plan 9 API didn't provide the semantics we wanted, and we didn't
want to call it rfork() if it wasn't.

Ron's rfork() used sharing maps, IIRC, which, while they cause objects
to be shared, didn't do what we (NetBSD) wanted for address space sharing.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808192345.QAA02742>