lkml.org 
[lkml]   [2010]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Unexpected splice "always copy" behavior observed
From
Date
On Wed, 19 May 2010, Linus Torvalds wrote:
> The real limitation is likely always going to be the fact that it has to
> be page-aligned and a full page. For a lot of splice inputs, that simply
> won't be the case, and you'll end up copying for alignment reasons anyway.

Another limitation I found while splicing from one file to another is
that stealing from the source file's page cache does not always
succeed. This turned out to be because of a reference from the lru
cache for freshly read pages. I'm not sure how this could be fixed.

Miklos


\
 
 \ /
  Last update: 2010-05-19 17:31    [W:0.102 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site