Date: Tue, 21 Jan 2003 13:01:11 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.ORG> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: "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: <Pine.NEB.3.96L.1030121125651.11405B-100000@fledge.watson.org> In-Reply-To: <200301140411.h0E4BgpN078032@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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? Call it kern_memfd, sys_memfd or the like. I guess part of what was rubbing me the wrong way with this was that it seemed like it was becoming a kitchen sink: message queues, timer access, etc: all stuff that can already be supported using existing APIs. The novel thing about this API that has me drooling -- perhaps not literally -- is an easy way to create sharable memory references to objects larger than addressable space w/o getting files in the mix, and pass them around. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories 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?Pine.NEB.3.96L.1030121125651.11405B-100000>