Subject: Re: making all fd's point at vnodes?
To: =?iso-8859-1?Q?Jarom=EDr_Dolecek?= <>
From: Jason R Thorpe <>
List: tech-kern
Date: 06/17/2001 17:56:19
On Sun, Jun 17, 2001 at 10:20:41PM +0200, Jaromír Dolecek wrote:

 > My concern is - what exactly would you gain by this? By this, you'd
 > optimize the vnode path. The socket/pipe path would still have
 > same number of levels of indirection as before.
 > My understanding is that vnode i/o path is the last thing which
 > needs optimization from those three file descriptor code paths.
 > The cons of your proposal is that you'd now need to implement pseudo fs
 > for this, and push VOP_READ()/VOP_WRITE() semantics to sockets/other, including
 > extra vop_{read|write}_args on stack, of course.

In some sense, you kind of need to do something like this anyway,
for fine-grained locking.

        -- Jason R. Thorpe <>