The patch titled Subject: vmsplice: relax alignement requirements for SPLICE_F_GIFT has been removed from the -mm tree. Its filename was vmsplice-relax-alignement-requirements-for-splice_f_gift.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Eric Dumazet <eric.dumazet@xxxxxxxxx> Subject: vmsplice: relax alignement requirements for SPLICE_F_GIFT It seems there is no fundamental reason to limit vmsplice() SPLICE_F_GIFT to page aligned chunks. All helpers are prepared to cope with offsets in page. This limitation makes vmsplice() API very impractical in the zero-copy land. Signed-off-by: Eric Dumazet <eric.dumazet@xxxxxxxxx> Cc: Tom Herbert <therbert@xxxxxxxxxx> Cc: Jens Axboe <axboe@xxxxxxxxx> Cc: David Miller <davem@xxxxxxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Hugh Dickins <hughd@xxxxxxxxxx> Cc: Changli Gao <xiaosuo@xxxxxxxxx> Cc: Miklos Szeredi <mszeredi@xxxxxxx> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/splice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN fs/splice.c~vmsplice-relax-alignement-requirements-for-splice_f_gift fs/splice.c --- a/fs/splice.c~vmsplice-relax-alignement-requirements-for-splice_f_gift +++ a/fs/splice.c @@ -1388,7 +1388,7 @@ static long do_splice(struct file *in, l */ static int get_iovec_page_array(const struct iovec __user *iov, unsigned int nr_vecs, struct page **pages, - struct partial_page *partial, int aligned, + struct partial_page *partial, bool aligned, unsigned int pipe_buffers) { int buffers = 0, error = 0; @@ -1626,7 +1626,7 @@ static long vmsplice_to_pipe(struct file return -ENOMEM; spd.nr_pages = get_iovec_page_array(iov, nr_segs, spd.pages, - spd.partial, flags & SPLICE_F_GIFT, + spd.partial, false, pipe->buffers); if (spd.nr_pages <= 0) ret = spd.nr_pages; _ Patches currently in -mm which might be from eric.dumazet@xxxxxxxxx are origin.patch linux-next.patch net-use-this_cpu_xxx-replace-percpu_xxx-funcs.patch syscalls-x86-add-__nr_kcmp-syscall-v8.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html