Re: [PATCH] tcp: splice as many packets as possible at once

Jarek Poplawski
2009-01-14T11:45:39Z

On Wed, Jan 14, 2009 at 11:40:59AM +0000, Jarek Poplawski wrote:
> On Wed, Jan 14, 2009 at 10:29:03PM +1100, Herbert Xu wrote:
> > On Wed, Jan 14, 2009 at 10:47:16AM +0000, Jarek Poplawski wrote:
> > >
> > > > > I don't think Herbert meant other ->sendpage() implementations, but I
> > > > > could miss something.
> > > >
> > > > I think he did :-)
> > >
> > > I hope Herbert will make it clear.
> >
> > Yes I did mean the other splice paths, and in particular, the path
> > to disk. I hope that's clear enough :)
>
> So, I think I got it right: otherwise it would be enough to make this
> copy to a new page only before ->sendpage() calls e.g. in
> generic_splice_sendpage().

Hmm... Actually in pipe_to_sendpage().

Jarek P.