Re: [patch] single copy pipe rewrite

2001-01-06 Thread David S. Miller
Date: Sun, 07 Jan 2001 01:36:22 +0100 From: Manfred <[EMAIL PROTECTED]> Do you still have that patch? I think so, see below. Was it posted to linux-kernel? Yes, it was. I just found a copy, enjoy: diff -ur ../vger3-001101/linux/fs/pipe.c linux/fs/pipe.c --- ../vger3-001101/linux/

Re: [patch] single copy pipe rewrite

2001-01-06 Thread Manfred
"David S. Miller" wrote: > > A couple months ago David posted a revised version of his patch which > fixed both these and some other problems. Most of the fixes were done > by Alexey Kuznetsov. > Do you still have that patch? Stephen Tweedie included the original, unrevied version in his kiob

Re: [patch] single copy pipe rewrite

2001-01-06 Thread David S. Miller
Date: Sun, 07 Jan 2001 00:25:16 +0100 From: Manfred <[EMAIL PROTECTED]> Last march David Miller proposed using kiobuf for these data transfers, I've written a new patch for 2.4. (David's original patch contained 2 bugs: it doesn't protect properly against multiple writers and i

[patch] single copy pipe rewrite

2001-01-06 Thread Manfred
(Linus, look away, I'll resubmit it for 2.5.0) The Linux pipe implementation is extremely inefficient for long, blocking data transfers with pipes (e.g. what gcc -pipe does): * 2 memcopies: user space->kernel buffer->user space * 2 context switches for each transfered page. Last march David Mill