Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2003 13:09:40 -0800
From:      Arun Sharma <arun@sharma-home.net>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        arch@FreeBSD.ORG
Subject:   Re: Virtual memory question
Message-ID:  <20030118210940.GA22024@sharma-home.net>
In-Reply-To: <200301112342.h0BNgj9a048596@apollo.backplane.com>
References:  <20030111224444.94D102A89E@canning.wemm.org> <200301112342.h0BNgj9a048596@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 11, 2003 at 03:42:45PM -0800, Matthew Dillon wrote:
> 
>     This is basically how shared memory works, except that shared memory
>     is managed outside the file descriptor framework.  I would love to
>     see a shared memory object that is managed inside the file 
>     descriptor framework, sort of like 'pipe()'.  I do not see any need
>     to use /dev/zero to implement the feature, though, because it will
>     not improve portability.
> 
>     How about something like:
> 
> 	getmemfd().

Hugetlbfs that was recently introduced in Linux uses a similar
fd based mechanism to implement shared memory.

	-Arun

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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