lkml.org 
[lkml]   [2005]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6 sendfile
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-21 22:35    [from the cache]
©2003-2011 Jasper Spaans