Re: 2.6 sendfile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 21 June 2005 23:07:23 +0300, [email protected] 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux