From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 23 19:17:45 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA3B616A4E0 for ; Wed, 23 Aug 2006 19:17:45 +0000 (UTC) (envelope-from prvs=julian=383e896f4@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 779F743D60 for ; Wed, 23 Aug 2006 19:17:45 +0000 (GMT) (envelope-from prvs=julian=383e896f4@elischer.org) Received: from unknown (HELO [10.251.18.229]) ([10.251.18.229]) by a50.ironport.com with ESMTP; 23 Aug 2006 12:17:45 -0700 Message-ID: <44ECA9D8.90006@elischer.org> Date: Wed, 23 Aug 2006 12:17:44 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Divacky Roman References: <20060823121451.GA67614@stud.fit.vutbr.cz> In-Reply-To: <20060823121451.GA67614@stud.fit.vutbr.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: Re: RFMEM and mmap() X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2006 19:17:45 -0000 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" > >