[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKgNAkhtm0JqxeKXovoXPbApogMsGtMR=1td_NhT3AMv_Ot1Ng@mail.gmail.com>
Date: Wed, 22 Nov 2017 21:43:31 +0100
From: "Michael Kerrisk (man-pages)" <mtk.manpages@...il.com>
To: Mike Rapoport <rppt@...ux.vnet.ibm.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Alexander Viro <viro@...iv.linux.org.uk>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
lkml <linux-kernel@...r.kernel.org>,
Linux API <linux-api@...r.kernel.org>, criu@...nvz.org,
Arnd Bergmann <arnd@...db.de>,
Pavel Emelyanov <xemul@...tuozzo.com>,
Thomas Gleixner <tglx@...utronix.de>,
Josh Triplett <josh@...htriplett.org>,
Jann Horn <jannh@...gle.com>,
Yossi Kuperman <yossiku@...ibm.com>
Subject: Re: [PATCH v3 0/4] vm: add a syscall to map a process memory into a pipe
Hi Mike,
On 22 November 2017 at 20:36, Mike Rapoport <rppt@...ux.vnet.ibm.com> wrote:
> From: Yossi Kuperman <yossiku@...ibm.com>
>
> Hi,
>
> This patches introduces new process_vmsplice system call that combines
> functionality of process_vm_read and vmsplice.
>
> It allows to map the memory of another process into a pipe, similarly to
> what vmsplice does for its own address space.
>
> The patch 2/4 ("vm: add a syscall to map a process memory into a pipe")
> actually adds the new system call and provides its elaborate description.
Where is the man page for this new syscall?
Cheers,
Michael
> The patchset is against -mm tree.
>
> v3: minor refactoring to reduce code duplication
> v2: move this syscall under CONFIG_CROSS_MEMORY_ATTACH
> give correct flags to get_user_pages_remote()
>
> Andrei Vagin (3):
> vm: add a syscall to map a process memory into a pipe
> x86: wire up the process_vmsplice syscall
> test: add a test for the process_vmsplice syscall
>
> Mike Rapoport (1):
> fs/splice: introduce pages_to_pipe helper
>
> arch/x86/entry/syscalls/syscall_32.tbl | 1 +
> arch/x86/entry/syscalls/syscall_64.tbl | 2 +
> fs/splice.c | 262 +++++++++++++++++++--
> include/linux/compat.h | 3 +
> include/linux/syscalls.h | 4 +
> include/uapi/asm-generic/unistd.h | 5 +-
> kernel/sys_ni.c | 2 +
> tools/testing/selftests/process_vmsplice/Makefile | 5 +
> .../process_vmsplice/process_vmsplice_test.c | 188 +++++++++++++++
> 9 files changed, 450 insertions(+), 22 deletions(-)
> create mode 100644 tools/testing/selftests/process_vmsplice/Makefile
> create mode 100644 tools/testing/selftests/process_vmsplice/process_vmsplice_test.c
>
> --
> 2.7.4
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
Powered by blists - more mailing lists