From owner-freebsd-hackers Wed Apr 18 17:48:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from areilly.bpc-users.org (CPE-144-132-234-126.nsw.bigpond.net.au [144.132.234.126]) by hub.freebsd.org (Postfix) with SMTP id 89AE437B423 for ; Wed, 18 Apr 2001 17:48:32 -0700 (PDT) (envelope-from areilly@bigpond.net.au) Received: (qmail 9127 invoked by uid 1000); 19 Apr 2001 00:48:31 -0000 From: "Andrew Reilly" Date: Thu, 19 Apr 2001 10:48:31 +1000 To: Julian Elischer Cc: Robert Watson , Poul-Henning Kamp , Kirk McKusick , Rik van Riel , freebsd-hackers@FreeBSD.ORG, Matt Dillon , David Xu Subject: Re: vm balance Message-ID: <20010419104831.A8598@gurney.reilly.home> References: <3ADDCE50.132B9F5D@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3ADDCE50.132B9F5D@elischer.org>; from julian@elischer.org on Wed, Apr 18, 2001 at 10:26:40AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Apr 18, 2001 at 10:26:40AM -0700, Julian Elischer wrote: > Robert Watson wrote: > > > > On Wed, 18 Apr 2001, Poul-Henning Kamp wrote: > > > As I indicated in my follow-up mail, the statement about seeking was > > incorrect, that is a property of the open file structure; I believe the > > remainder still holds true. When was the last time you tried mmap'ing or > > seeking on the socket? A socket represents a buffered data stream which > > does not allow arbitrary read/write operations at arbitrary offsets. > > Actually there have been times when I did want to mmap a datastream.. > I think a datastream mapped into a user buffer-space is one of the > possible 0-copy methods people sometimes mention. Mmapped data streams: audio IO. There are probably others. -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message