Re: newbie question: tcp/ip in kernel

From: Andi Kleen (ak@suse.de)
Date: Mon Aug 28 2000 - 16:07:04 EST


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/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:22 EST