From owner-freebsd-hackers Mon Jun 30 20:00:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA03149 for hackers-outgoing; Mon, 30 Jun 1997 20:00:39 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA03144 for ; Mon, 30 Jun 1997 20:00:36 -0700 (PDT) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id TAA07901; Mon, 30 Jun 1997 19:54:01 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd007884; Tue Jul 1 02:53:56 1997 Message-ID: <33B870F3.2F1CF0FB@whistle.com> Date: Mon, 30 Jun 1997 19:52:35 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Jason Thorpe CC: Vivek Sadananda Pai , freebsd-hackers@freebsd.org Subject: Re: mbuf external storage References: <199707010215.TAA27715@lestat.nas.nasa.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jason Thorpe wrote: > > I also recommend taking a look at the external storage mbuf code in > NetBSD that was done by Matt Thomas and myself. NetBSD actively uses > it in the handling of UNIX domain sockets, and I'm experimenting using > it for DMA buffer loan-out for high performance network interfaces > (such as Myrinet and Hippi); doing this really effectively is going > to require an additional function call interface to deal with the > transmit case, however... that's to-be-attacked later. I agrree that the OSF idea has merrit. it's also possible to make a hybrid scheme that allows even more flexibility. (I had code for that somewhere..) > > > there's some reason why it was removed? > > It was never there. > > It might be useful to include it.. I just overload the 'ext_size' > > argument. (as nothing uses it). > > That's seriously bogus... ext_size _is_ used in e.g. NetBSD's NFS code, > and when you think about running on 64-bit architectures (like the > Alpha, which FreeBSD has ambitions about running on), then you can't > resort to such a kludge. > > Jason I agree and it was a temporary 'kludge'. in special purpose code that will get rewritten eventually.