/dev/zero and MAP_ANON (was: Re: GC triggering ...)
Guy Harris
guy at auspex.auspex.com
Wed Jul 25 04:52:58 AEST 1990
>Here is a question for you about mmap of /dev/zero. Is this a useful feature
>for unrelated processes to share memory?
Not as far as I know. There's nothing on which they can rendezvous....
>Are there any other ways to share zero-filled memory without consuming
>disk space (as with regular mapped files) for unrelated processes in
>these operating systems?
Yes, you can use the shared memory mechanism provided by the S5 IPC
mechanisms ("shmat()" and all that).
More information about the Comp.unix.wizards
mailing list