[net.unix] memory management primitives availability in 4.2BSD

SFLEISCHMAN@USC-ECLB.ARPA (04/09/85)

We just installed a release of 4.2BSD dated Nov 2, 1983 on our VAX and
were disappointed to find that the memory management primitives (mmap, mremap,
munmap, mprotect, etc.) are not , apparently, included for programmer use.

Can anyone tell me wh  how to get a version of 4.2BSD that contains
the memory management primitives? What release of 4.2BSD??

Thanks,
Stan Fleischman

SFLEISCHMAN at ECLB
-------

gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) (04/10/85)

The proposed 4.2BSD memory management syscalls were not provided
with 4.2BSD.  Word was that the code had been written but failed
on VAX-11/750s due to problems with the firmware.  Supposedly the
latest DEC ECO was supposed to fix that, so a future release of
4.nBSD can include this facility.

If you can't find this code anywhere and get really desperate,
consider using UNIX System V shared memory facilities.  Of course
that involves yet other trade-offs and so may not be acceptable..

chris@umcp-cs.UUCP (Chris Torek) (04/10/85)

Sun's 4.2BSD supports mmap() at least on the console.  There is no
Vax version of 4.2 that supports the memory management primitives,
however.  Maybe in 4.3....
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@maryland

guy@sun.uucp (Guy Harris) (04/11/85)

> The proposed 4.2BSD memory management syscalls were not provided
> with 4.2BSD.  Word was that the code had been written but failed
> on VAX-11/750s due to problems with the firmware.  Supposedly the
> latest DEC ECO was supposed to fix that, so a future release of
> 4.nBSD can include this facility.

If the 4.2BSD code used copy-on-write, this is possible; supposedly,
if the 750 took a protection fault due to lack of write permission,
the instruction could not be restarted (I believe some of the information
used to restart was scrambled) so that you couldn't do copy-on-write.
I believe System V Release 2 Version 2 uses copy-on-write, so either
1) it's not really a problem, 2) there's a work-around, or 3) S5R2V2
requires the latest ECO.

	Guy Harris
	sun!guy

maurice@nmtvax.UUCP (04/11/85)

>We just installed a release of 4.2BSD dated Nov 2, 1983 on our VAX and
>were disappointed to find that the memory management primitives (mmap, mremap,
>munmap, mprotect, etc.) are not , apparently, included for programmer use.
>
>Can anyone tell me wh  how to get a version of 4.2BSD that contains
>the memory management primitives? What release of 4.2BSD??
>

   You don't. If you look very closely at the 4.2 System Manual which
tells about the facilities provided by 4.2BSD, and look at the footnotes
at the bottom of the various pages, it says in part, these calls
are *planned* for later releases of the system. 


  Roger M Levasseur
  unmvax!nmtvax!maurice