]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/splice.c
[PATCH] Add support for the sys_vmsplice syscall
authorJens Axboe <axboe@suse.de>
Wed, 26 Apr 2006 08:59:21 +0000 (10:59 +0200)
committerJens Axboe <axboe@suse.de>
Wed, 26 Apr 2006 08:59:21 +0000 (10:59 +0200)
commit912d35f86781e64d73be1ef358f703c08905ac37
tree5863ad70f5cdccba0c1cd28f83d173deaf71fb83
parent016b661e2f717168e600f3c85f29e1a49f88e004
[PATCH] Add support for the sys_vmsplice syscall

sys_splice() moves data to/from pipes with a file input/output. sys_vmsplice()
moves data to a pipe, with the input being a user address range instead.

This uses an approach suggested by Linus, where we can hold partial ranges
inside the pages[] map. Hopefully this will be useful for network
receive support as well.

Signed-off-by: Jens Axboe <axboe@suse.de>
arch/ia64/kernel/entry.S
arch/powerpc/kernel/systbl.S
arch/powerpc/platforms/cell/spu_callbacks.c
fs/splice.c
include/asm-i386/unistd.h
include/asm-ia64/unistd.h
include/asm-powerpc/unistd.h
include/asm-x86_64/unistd.h
include/linux/syscalls.h