lkml.org 
[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: newbie question: tcp/ip in kernel
On Mon, Aug 28, 2000 at 02:03:25PM -0700, Reto Baettig wrote:
> Andi Kleen wrote:
> >
> > > -) What is the best way to get rid of the copy_from_user memcpy that
> > > tcp_do_sendmsg does in that call?
> >
> > Rewriting the TCP/IP stack and changing all network drivers to get rid
> > of the copy.
>
> :-( Is there an easier way?
>
> Can I somehow get rid of the lock_kernel in 2.2 kernels (at least for
> the sock_sendmsg and sock_rcvmsg calls) so that I can at least use the 2
> Memory buses in our ES40's?

Later 2.2 kernels automatically drop the kernel lock during the copy, so
that should just work.


-Andi


-
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.044 / U:3.040 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site