[lkml]   [2005]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.6 sendfile
On Tue, 21 June 2005 23:07:23 +0300, 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.


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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-06-21 22:35    [W:0.038 / U:3.232 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site