On Tue, Oct 21, 2014, at 08:46, Mike Frysinger wrote:
> On 20 Oct 2014 21:00, Lauri Kasanen wrote:
> > > +config FEATURE_USE_SENDFILE
> > > +        bool "Use sendfile system call"
> > > +        default y
> > > +        help
> > > +          When enabled, busybox will use the kernel sendfile() function
> > > +          instead of read/write loops where applicable.
> > 
> > Please include the kernel version requirement here.
> 
> `man 2 sendfile`:
> In Linux kernels before 2.6.33, out_fd must refer to a socket.
> Since Linux 2.6.33 it can be any file.  If it is a regular file,
> then sendfile() changes the file offset appropriately.
> -mike

Yes, I know? The point was to tell the user configuring busybox that.

- Lauri

PS: Sorry, forgot the list the first time.

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to