[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCHv2] Use sendfile to copy data between file descriptors
From: Mike Frysinger <vapier () gentoo ! org>
Date: 2014-10-21 12:37:53
Message-ID: 20141021123753.GC19131 () vapier
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On 21 Oct 2014 11:01, Lauri Kasanen wrote:
> 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.
>
> Yes, I know? The point was to tell the user configuring busybox that.
chill dog. the fact you knew it doesn't mean the submitter did.
nowhere did i say you were ignorant.
-mike
["signature.asc" (application/pgp-signature)]
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic