Received: by 10.223.164.202 with SMTP id h10csp349389wrb; Wed, 22 Nov 2017 22:30:12 -0800 (PST) X-Google-Smtp-Source: AGs4zMa1er0RDe3NpuDnT49CMvdHzihNqt+/vKcV9+UYwkzenVC5eljafK5rqHnztAMLwoq0FEHk X-Received: by 10.84.131.68 with SMTP id 62mr23752320pld.185.1511418612474; Wed, 22 Nov 2017 22:30:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511418612; cv=none; d=google.com; s=arc-20160816; b=0HicIbqnakMwQskKc4XM05KrhT6UlE08En9PSz/4wCTWxxFdrlODYj6Hxx50WIIOPT xdspiNCFmBR0aPfx/l3AQ1uxTkZBWjLHKOKs08fR2vbbSWTLfY+LwKeSPkCKbUFTUM2U npwtIdpQlRnnJR3k7x3qoDKcVxBVP/fii6Ggtgep4JvTYu3I9Zrnw2STq2U02meB0WLV d/n45+Hv388B+qPSOT0aACicMKMJqphVlVdC5CNrwe8BMrFKoHMdE8wZxjFi9JXlcRyk RwBPBk2FTlR4kP2527AiiPtXFi5+869s5DiWe4ETEkqOUxfyY++GKsLw9nauu66v3NLS 1yYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date :arc-authentication-results; bh=yKhH/MFzQwSq3EalvsmG5ocgI/NZMXFRKF5r1FezODg=; b=vk5G6tlsLeqY6Kyf+oj/pSO1Qc79JpuEZRqhqb/LjXgouNRKZCDEimIxqTecPlpB4y J2NkE7NdnsJ2b4GdE/W2qjFJRU3xR3cfr2SXM/rZLG/tbkzVYSeDdc9tdiZMKIXY2DtD 79LJkjX5KnAj+WZnHAkQ1aYRtW5cITjzqxrrl/y1txwjfpg6k5bTi8ums/bfZ/wJjQym 01H9LEdEQxIpECb8CyfIt3mC824URtOqYAiVmJKAASzvi0KD4sY5gj9RjzhrDQmvvolq q6VNaWJqGyflnaHrqDCQtDy/IsfYEpTklcyOHTCFOo6Qm2kXCeVoBvLHDyAMczIzM/S+ dosw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p11si16186494pll.96.2017.11.22.22.30.00; Wed, 22 Nov 2017 22:30:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752680AbdKWG3V (ORCPT + 77 others); Thu, 23 Nov 2017 01:29:21 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:54878 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752231AbdKWG3U (ORCPT ); Thu, 23 Nov 2017 01:29:20 -0500 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAN6TGmI121304 for ; Thu, 23 Nov 2017 01:29:19 -0500 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0b-001b2d01.pphosted.com with ESMTP id 2eds3gg0uy-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 23 Nov 2017 01:29:19 -0500 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 23 Nov 2017 06:29:17 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 23 Nov 2017 06:29:13 -0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id vAN6TCtr38600814; Thu, 23 Nov 2017 06:29:12 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 88B9042047; Thu, 23 Nov 2017 06:23:56 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7F79E42041; Thu, 23 Nov 2017 06:23:55 +0000 (GMT) Received: from rapoport-lnx (unknown [9.148.8.236]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 23 Nov 2017 06:23:55 +0000 (GMT) Date: Thu, 23 Nov 2017 08:29:10 +0200 From: Mike Rapoport To: "Michael Kerrisk (man-pages)" Cc: Andrew Morton , Alexander Viro , "linux-mm@kvack.org" , "linux-fsdevel@vger.kernel.org" , lkml , Linux API , criu@openvz.org, Arnd Bergmann , Pavel Emelyanov , Thomas Gleixner , Josh Triplett , Jann Horn , Yossi Kuperman Subject: Re: [PATCH v3 0/4] vm: add a syscall to map a process memory into a pipe References: <1511379391-988-1-git-send-email-rppt@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 17112306-0008-0000-0000-000004AEAA73 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17112306-0009-0000-0000-00001E4176B2 Message-Id: <20171123062909.GB2303@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-23_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711230092 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 22, 2017 at 09:43:31PM +0100, Michael Kerrisk (man-pages) wrote: > Hi Mike, > > On 22 November 2017 at 20:36, Mike Rapoport wrote: > > 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? It's still WIP, I'll send it out soon. > 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/ > -- Sincerely yours, Mike. From 1584800463184150396@xxx Wed Nov 22 20:44:58 +0000 2017 X-GM-THRID: 1584796227698224638 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread