[Top] [All Lists]

Re: zero copy

To: kernel coder <>
Subject: Re: zero copy
From: Matt Porter <>
Date: Tue, 6 Dec 2005 08:53:47 -0700
In-reply-to: <>; from on Tue, Dec 06, 2005 at 04:06:06AM -0800
Original-recipient: rfc822;
References: <>
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.


<Prev in Thread] Current Thread [Next in Thread>
  • zero copy, kernel coder
    • Re: zero copy, Matt Porter <=