Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2006 12:17:44 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Cc:        hackers@freebsd.org
Subject:   Re: RFMEM and mmap()
Message-ID:  <44ECA9D8.90006@elischer.org>
In-Reply-To: <20060823121451.GA67614@stud.fit.vutbr.cz>
References:  <20060823121451.GA67614@stud.fit.vutbr.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ECA9D8.90006>