• Jens Axboe's avatar
    [PATCH] splice: add direct fd <-> fd splicing support · b92ce558
    Jens Axboe authored
    It's more efficient for sendfile() emulation. Basically we cache an
    internal private pipe and just use that as the intermediate area for
    pages. Direct splicing is not available from sys_splice(), it is only
    meant to be used for sendfile() emulation.
    
    Additional patch from Ingo Molnar to avoid the PIPE_BUFFERS loop at
    exit for the normal fast path.
    Signed-off-by: default avatarJens Axboe <axboe@suse.de>
    b92ce558
exit.c 41.4 KB