RFMEM and mmap()

Julian Elischer julian at elischer.org
Wed Aug 23 19:17:45 UTC 2006


Divacky Roman wrote:

>hi
>
>I wonder what happens when proc A, create proc B using
>
>fork1(td, RFMEM, 0, &p2);
>
>and either A or B mmap()s something. is the mmaped memory shared
>among the procs? what if it brk()s something? 
>
>  
>

the virtual memory space is totally shared.
this is how linuxthreads works.


>thnx
>
>roman
>
>
>----------------------
>www.liberalnistrana.cz
>_______________________________________________
>freebsd-hackers at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>  
>


More information about the freebsd-hackers mailing list