lkml.org 
[lkml]   [2006]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux 2.6.17-rc2
From
Date
On Fri, 2006-04-21 at 04:05 +0200, Andi Kleen wrote:
> Piet Delaney <piet@bluelane.com> writes:
> >
> > FreeBSD folks developed a ZERO_COPY_SOCKET facility that uses COW;
> > code looked great.
>
> Linux had patches many years ago (in 2.3.x), but it was never merged
> because it is inherently unscalable on MP. Classical BSD sockets really
> don't work well for zero copy - you need a new interface (like POSIX aio)
> that allows the kernel/user to tell each other when use of data is
> finished and buffers can be reused.

Right, back when I was working on zero copy for 2.4 I noticed that
2.6 seemed to support aio in the socket code, passing the kiocb
pointer as I recall, and support in the socket code for for sendpage
seemed enhanced. I was also wondering about using 2.6 and aio for zero
copy instead of tokens via sendmsg() and recvmsg() cmsghdr structures.

-piet

>
> -Andi
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
---
piet@bluelane.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-21 08:49    [W:0.143 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site