I wrote: > The problem with MAP_ANONYMOUS is that you cannot share after fork.
I should have written: you cannot share *a mmap created* after fork. > > http://www.kernel.org/doc/man-pages/online/pages/man2/mmap.2.html > > If you are on Linux here you find some quick explanation how mmap, > tmpfs and shm fs relate to each others: > http://stackoverflow.com/questions/904581/shmem-vs-tmpfs-vs-mmap