mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: nanakos@wired-net.gr
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6 sendfile
Date: Tue, 21 Jun 2005 22:25:29 +0200	[thread overview]
Message-ID: <20050621202529.GC19562@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <39281.62.38.143.212.1119384443.squirrel@webmail.wired-net.gr>

On Tue, 21 June 2005 23:07:23 +0300, nanakos@wired-net.gr wrote:
> 
> Very interesting patches,but what i need to is a pacth or some points so i
> can change the existing source code according to my needs.Can someone help
> me on that?
> The existing sendfile system call copies data from a file descriptor to a
> socket descriptor.I have already a program that i have to port that uses
> the sendfile syscall from 2.4.x series kernels.In 2.6.x doesnt work.What
> are the minimal changes that have to be done so i can use again the
> syscall in 2.6.x kernel's???

The first two patches (generic_sendpage.patch and sendfile.patch)
should be all you need.  But they were rather quick hack and I haven't
seriously looked at them for quite a while.

Maybe I should change that.  Several people appear to be generally
interested in the subject.

Jörn

-- 
Data dominates. If you've chosen the right data structures and organized
things well, the algorithms will almost always be self-evident. Data
structures, not algorithms, are central to programming.
-- Rob Pike

      reply	other threads:[~2005-06-21 20:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-21 12:32 nanakos
2005-06-21 12:52 ` Jörn Engel
2005-06-21 20:07   ` nanakos
2005-06-21 20:25     ` Jörn Engel [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=20050621202529.GC19562@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nanakos@wired-net.gr \
    /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

all inboxes | Powered by JetHome®