Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: andrewg@microlise.co.uk   (Andrew Gierth)
Subject: Re: fork() with copy-on-write?
Date: 1996/03/26	[thread overview]
Message-ID: <4j9bqr$q1h@microl4.microlise.UUCP> (raw)
In-Reply-To: 4j8414$smu@garotte.va.pubnix.com

In <4j8414$smu@garotte.va.pubnix.com>, stripes@va.pubnix.com (Josh M. Osborne) writes:
>In article <4is3hq$fj1@microl4.microlise.UUCP>,
>Andrew Gierth <andrewg@microlise.co.uk> wrote:
>[...]
>>Minor correction: on some platforms it is not copy-on-write but
>>copy-on-reference. This is because some architectures (mainly RISC)
>>have trouble with mapping a physical page to multiple virtual addresses.
>>
>>The only platform I know for sure does copy-on-reference is HP-UX on the
>>PA-RISC platform; but I suspect that AIX also does it. Anyone know?
>
>Minor correction to the minor correction:
>It isn't RISC archatectures that have trubble with COW so much as
>MMU's with inverted page tables.  It just so happens that the only
>2 Unix running CPUs with inverted page table MMU's happen to be
>(gennerally regarded as) RISC systems.  They also both happen to be
>IBM CPU's as well.  The IBM ROMP (as seen in the IBM RT), and the
>IBM POWER (as well as the IBM/Apple/Motorolla PowerPC).  

Minor correction to the minor correction to the minor correction:

The PA-RISC also has an inverted page table. So change 'only 2' to
'at least 3'... (I did say 'mainly RISC'...)

Another factor is caching; some architectures cache by virtual address,
to make the data available more quickly on a cache hit. I suspect that
this is usual on architectures with inverted page tables...

-- Andrew  (andrewg@microlise.co.uk)

[.sig under construction]




  reply	other threads:[~1996-03-26  5:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-19  5:00 fork() with copy-on-write? anh
1996-03-20  5:00 ` Yan-Song Chen
1996-03-21  5:00   ` Andrew Gierth
1996-03-26  5:00     ` Josh M. Osborne
1996-03-26  5:00       ` Andrew Gierth [this message]
1996-03-27  5:00         ` Guy Harris
1996-03-28  5:00           ` Andrew Gierth
1996-03-28  5:00           ` Jens-Uwe Mager
1996-03-20  5:00 ` Jim Sullivan's Home Account
1996-03-22  5:00 ` Peter Shenkin
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox