Re: [PLEASE-TESTME] Zerocopy networking patch, 2.4.0-1

From: Christoph Hellwig (hch@caldera.de)
Date: Mon Jan 08 2001 - 05:39:15 EST


In article <200101080124.RAA08134@pizda.ninka.net> you wrote:

> I've put a patch up for testing on the kernel.org mirrors:
>
> /pub/linux/kernel/people/davem/zerocopy-2.4.0-1.diff.gz
>
> It provides a framework for zerocopy transmits and delayed
> receive fragment coalescing. TUX-1.01 uses this framework.

Hi Dave,

don't you think the writepage file operation is rather hackish?
I'd much prefer Ben La Haise's rw_kiovec [1] operation, it is more
generic (supports read and write) and should be easily usable for
zerocopy networking with plain old write (using map_user_kio).
Besides that the FS crew thinks it should go in soon because of
aio anyway...

        Christoph

[1] for those that don't know yet, the prototype is:

        rw_kiovec(struct file * filp, int rw, int nr,
                struct kiobuf ** kiovec, int flags,
                size_t size, loff_t pos);

-- 
Whip me.  Beat me.  Make me maintain AIX.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:16 EST