| To: | kernel coder <lhrkernelcoder@gmail.com> |
|---|---|
| Subject: | Re: zero copy |
| From: | Matt Porter <mporter@kernel.crashing.org> |
| Date: | Tue, 6 Dec 2005 08:53:47 -0700 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <f69849430512060406x7f30a2f6k2c64f6cef383c175@mail.gmail.com>; from lhrkernelcoder@gmail.com on Tue, Dec 06, 2005 at 04:06:06AM -0800 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <f69849430512060406x7f30a2f6k2c64f6cef383c175@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.2.5i |
On Tue, Dec 06, 2005 at 04:06:06AM -0800, kernel coder wrote: > hi, > i'm trying to track the code flow of sendfile system call.Mine > ethernet card doesn't have scatter gather and checksum calculation > features.So stack should be making a copy of data. > > Please tell me where in sendfile code flow,check for scatter gather > and cecksum features is made so that stack can decide whether to copy > data from user space or not. Is your grep really that broken? :) net/ipv4/tcp.c:tcp_sendpage() is where you find the check and fallback to sendmsg if you follow it through. -Matt |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | zero copy, kernel coder |
|---|---|
| Next by Date: | [PATCH] Philips PNX8550 ip3106 driver deadlock fix, Vladimir A. Barinov |
| Previous by Thread: | zero copy, kernel coder |
| Next by Thread: | [PATCH] Philips PNX8550 ip3106 driver deadlock fix, Vladimir A. Barinov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |