From: Matt Porter <mporter@kernel.crashing.org>
To: kernel coder <lhrkernelcoder@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: zero copy
Date: Tue, 6 Dec 2005 08:53:47 -0700 [thread overview]
Message-ID: <20051206085347.A32501@cox.net> (raw)
In-Reply-To: <f69849430512060406x7f30a2f6k2c64f6cef383c175@mail.gmail.com>; from lhrkernelcoder@gmail.com on Tue, Dec 06, 2005 at 04:06:06AM -0800
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 parent reply other threads:[~2005-12-06 15:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-06 12:06 zero copy kernel coder
2005-12-06 15:53 ` Matt Porter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051206085347.A32501@cox.net \
--to=mporter@kernel.crashing.org \
--cc=lhrkernelcoder@gmail.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox