From owner-freebsd-arch Tue Jan 21 10: 1:32 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AAEB37B401 for ; Tue, 21 Jan 2003 10:01:31 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8858B43F3F for ; Tue, 21 Jan 2003 10:01:30 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.6/8.12.5) with SMTP id h0LI1BP4017725; Tue, 21 Jan 2003 13:01:12 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 21 Jan 2003 13:01:11 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Matthew Dillon Cc: "Alan L. Cox" , Peter Wemm , arch@FreeBSD.ORG Subject: Re: getsysfd() patch #1 (Re: Virtual memory question) In-Reply-To: <200301140411.h0E4BgpN078032@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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