Subject: Re: making all fd's point at vnodes?
To: Bill Sommerfeld <sommerfeld@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 06/17/2001 17:58:53
On Sun, Jun 17, 2001 at 07:36:29PM -0400, Bill Sommerfeld wrote:

 > > Well, two only for vnode/socket path, not for pipes. In the socket
 > > case, that second level of indirection is ~necessary and would be
 > > there even if fp->f_data would be a vnode.
 > 
 > Currently soo_read and soo_write indirect through so->so_receive and
 > so->so_send, but I can find *nothing* (and i mean *nothing*) in our
 > kernel which sets so->so_receive and so->so_send to anything other
 > than soreceive and sosend.

I think the idea was that you could have a page-loaning version
stuck in there easily.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>