Hello Christoph, On Tue, Dec 13, 2005 at 07:29:36PM +0100, Christoph Hellwig wrote: > Mid-term I plan to restructure the file_operations so that we don't need > to have all these duplicate aio and vectored versions. This patch is > a small step in that direction but also a worthwile cleanup on it's own:
Good idea, but I think that we may want to do a bit more serious overhauling of how socket read/write works. Right now the fast path case of networking is pretty atrocious and winds its way through quite a number of layers before any actual work is done. What I would like to do is something along the following: have a protocol specified fast path (which can likely be shared amongst many protocols) that provides a read() and write() operation with the option for msghdr bits and flags. When it falls out of the fast path, then we can incur the overhead of setting up the data structures that would be shared with aio. I'm still hacking around on af_unix right now, and will spend the time today to put together a bit of a patch showing what I mean. -ben -- "You know, I've seen some crystals do some pretty trippy shit, man." Don't Email: <[EMAIL PROTECTED]>. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html