From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,28b0249f7691568e X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,28b0249f7691568e X-Google-Attributes: gid102b75,public From: dsiebert@icaen.uiowa.edu (Doug Siebert) Subject: Re: Alpha in peril? First Canion, now Pfieffer (I do think so) Date: 1999/05/12 Message-ID: <7hcru6$6ti$1@server05.icaen.uiowa.edu>#1/1 X-Deja-AN: 477173523 References: <371AD875.407C6B83@igs.net> <7h7vnn$2ts$15@nntp.Stanford.EDU> <5l4sljqx5d.fsf@tequila.cs.yale.edu> <7hc9n1$3tf@web.nmti.com> Organization: Iowa Computer Aided Engineering Network, University of Iowa Reply-To: douglas-siebert@uiowa.edu Newsgroups: comp.arch,comp.sys.dec peter@baileynm.com (Peter da Silva) writes: >In article <5l4sljqx5d.fsf@tequila.cs.yale.edu>, >Stefan Monnier wrote: >>Furthermore, pointers can now be exchanged between processes in a meaningful >>manner. SHM segments are now always mapped at the same address in each process >>which allows the use of actual data-structures in there. >You don't need to map the non-shared part of the process's address space >into the same VM area to get this benefit. In fact changing the mmap() >implementation (not even the documented semantics) so that if you don't >specify the mapping address you get the same address in every process should >provide the behaviour you're looking for. HP-UX already behaves that way (dunno about the full 64 bit HP-UX 11, but I suspect it also does) Once you have mapped something in one process on a particular address, you can _only_ map that object at the same address in another process. It is often seen as an annoying limitation, but as with many tradeoffs there are some useful (but non portable) benefits. -- Douglas Siebert Director of Computing Facilities douglas-siebert@uiowa.edu Division of Mathematical Sciences, U of Iowa I plan to live forever, or die trying.