Date: Tue, 14 Jan 2003 19:42:34 -0800 From: Peter Wemm <peter@wemm.org> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Terry Lambert <tlambert2@mindspring.com>, "Alan L. Cox" <alc@imimic.com>, arch@FreeBSD.ORG Subject: Re: getsysfd() patch #1 (Re: Virtual memory question) Message-ID: <20030115034234.A3A742A89E@canning.wemm.org> In-Reply-To: <200301150316.h0F3GIe8005442@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon wrote: > > :Also, it gives you a handle to hold data while temporarily unmapped. eg: > :you can implement a small movable mapped window into a larger object. With > :MAP_ANON and /dev/zero, when you unmap the pages they are gone. > : > :Also, we could use one of these beasties as a backing store for malloc(). > :Since the offset is persistent and has a sequence of page offsets it should > :avoid the map fragmentation. > > That is a very interesting idea. fork() would be a problem though. Yes, oops. :-) Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 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?20030115034234.A3A742A89E>