Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: guy@netapp.com (Guy Harris)
Subject: Re: fork() with copy-on-write?
Date: 1996/03/27	[thread overview]
Message-ID: <4jc6gf$3j1@bayonne.netapp.com> (raw)
In-Reply-To: 4j9bqr$q1h@microl4.microlise.UUCP

Andrew Gierth <andrewg@microlise.co.uk> wrote:
>Another factor is caching; some architectures cache by virtual address,
>to make the data available more quickly on a cache hit.

The Sun-3/2xx machines, Sun-4/2xx machines, Sun-4c machines, Auspex
machines with an HP V host processor, and probably others

	1) have virtually-indexed, virtually-tagged caches

and

	2) can run OSes that support copy-on-write and mapping a
	   physical page to multiple virtual addresses:

Some other machines from Sun, Auspex, and others, have
virtually-indexed, physically-tagged caches, and can run those OSes as
well.

And, no, the OSes in question (SunOS 4.x and 5.x) do *not* automatically
mark shared pages as uncacheable; they only do so if the virtual
addresses for the shared page aren't all congruent modulo the cache
size.

Furthermore, AIX, at least, supports shared memory and shared libraries
and shared text on RS/6000's with inverted page tables; it *is* possible
to have a page mapped to multiple addresses - the trick, as I remember,
is that a 32-bit per-process virtual address has the upper few bits
select a segment register, and some stuff in the segment register and
the rest of the 32-bit virtual address are concatenated to make a
>32-bit *global* virtual address.  A shared page has, I think, only one
such global virtual address, but appears in more than one per-process
32-bit address space.



  reply	other threads:[~1996-03-27  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
1996-03-27  5:00         ` Guy Harris [this message]
1996-03-28  5:00           ` Jens-Uwe Mager
1996-03-28  5:00           ` Andrew Gierth
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