Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 19:26:13 +0100
From:      phk@freebsd.org
To:        Robert Watson <rwatson@freebsd.org>
Cc:        Matthew Dillon <dillon@apollo.backplane.com>, "Alan L. Cox" <alc@imimic.com>, Peter Wemm <peter@wemm.org>, arch@freebsd.org
Subject:   Re: getsysfd() patch #1 (Re: Virtual memory question) 
Message-ID:  <16711.1043173573@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 21 Jan 2003 13:01:11 EST." <Pine.NEB.3.96L.1030121125651.11405B-100000@fledge.watson.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.NEB.3.96L.1030121125651.11405B-100000@fledge.watson.org>, Robe
rt Watson writes:
>
>Ok, so lemme revise my thinking.  Could we take this patch, rename the API
>from getsysfd(various things) to memfd(size), and simply provide anonymous
>swap-backed memory only?

The traditional design would be:

	fd = open("/dev/shmem", ...);
	ptr = mmap(..., fd, ...)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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?16711.1043173573>