Received: by 10.223.185.116 with SMTP id b49csp6767672wrg; Wed, 28 Feb 2018 15:22:45 -0800 (PST) X-Google-Smtp-Source: AH8x224Pvr8aydc2ryxJ+wwD2X4apYIWny/yzyCHC0M3iV23QSCFO1IjFn8b9wO276dmUfOTElQ7 X-Received: by 10.99.163.1 with SMTP id s1mr15865803pge.47.1519860165531; Wed, 28 Feb 2018 15:22:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519860165; cv=none; d=google.com; s=arc-20160816; b=XlqEldRjr0TWIT5U/U/wmGEHK2Brt7OAd9ViFetj/2oe/1KoKTp8bbjhlTiwm8CuWt MACYNA3rXCd76RpUKe1jG+it+Ng3xKLpIFs1NKAZHaHX1w8ShZ5SGZ7BsrYYWfLIElJB 1A99mBLTbnI+Vys2FYTvRZYrNKi0PRGOsUcGRyE3a3PM10SI1jagIBVXgCVjOeSz/xuQ 8u99MdVNB9OLoOcgWl28PrnSkR7fS0yOLLexELNJ1nnUzEKXP7QJGU0HKpyQI4lpTDOo VIc0dRQzyRjPNXxe7Vm+Zg2MaJQmGShL1irilXsVQ5fNjmdX97ZtfAMDwQvZ2hIkl5lF NGvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=UYvGqNJF8v6TgpoQZxtUrSjswsr8z7WGTtFmJ9hnHW8=; b=oF01rKs5WoolIxHjPCDVUAHMIIlMiR+wC9m83O11z0GTabIO2n9TFlcNGVhlkbb8hL QTw6uJLXjMNNJpKtCiq6lQ3tbNyZU2pBc8mbLupq8ADpcXSC787MwB5eOvpuEKgQ09Rc Cf0vUq62ONuFJ7MO30K1J1PcqV9hoP1pQd6F8FzUJuXQ9ueXhSWsAPZMm/HqVq+RNSS1 sJlL1Zcoccs8Oee8vtfSE5ldUl5HbNOu15G5jKuv1z/jlwcfZotyPV7uvO1bxVpzmxaf nG5av3sj4hpAjwcRA7IEKgqxboISVm7nnFpIGRdjl6Veu6WriGFCpHEv16VaPwOrGkl5 /RcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ornl.gov header.s=p20151116 header.b=Z5ZhRu5X; 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=pass (p=NONE sp=NONE dis=NONE) header.from=ornl.gov Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q11si1957396pfi.35.2018.02.28.15.22.31; Wed, 28 Feb 2018 15:22:45 -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; dkim=pass header.i=@ornl.gov header.s=p20151116 header.b=Z5ZhRu5X; 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=pass (p=NONE sp=NONE dis=NONE) header.from=ornl.gov Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964912AbeB1XVu (ORCPT + 99 others); Wed, 28 Feb 2018 18:21:50 -0500 Received: from mta01.ornl.gov ([128.219.177.137]:38726 "EHLO mta01.ornl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964783AbeB1XVr (ORCPT ); Wed, 28 Feb 2018 18:21:47 -0500 X-Greylist: delayed 582 seconds by postgrey-1.27 at vger.kernel.org; Wed, 28 Feb 2018 18:21:47 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ornl.gov; i=@ornl.gov; q=dns/txt; s=p20151116; t=1519860107; x=1551396107; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=UYvGqNJF8v6TgpoQZxtUrSjswsr8z7WGTtFmJ9hnHW8=; b=Z5ZhRu5XHSbvzkg3fHgxl0n+xsYP5EyyWA/X2nPOTmZN+rm+xF8xAMNw FMEB/jK7VGDDDCfgi2bQUaAutdPwwUyX6m3bbj4L5Vk9Q6wPwHKnaweu3 YBzltDnuuuWx4cbW4zxI+Z+3BCiU6+FUS60POjZUzB0+Cpylh199ay10u f0paaA11TokiUU1NPHD11283vMeikFaC3N0b15Ncke3NFdNUIFLht/m13 O58O6Cq35HPYeArE8yYFRX9+DppAR1jCX0lmJpY/Jy/cLNBlIUDprXpdI siufLC+IV+F0DR8q4vIwZDGrHxd/usu9tOs/tjMDu1HoSJnuKLnpTYEnY A==; X-SG: RELAYLIST X-IronPort-AV: E=Sophos;i="5.47,406,1515474000"; d="scan'208";a="33641716" Received: from emgwy2.ornl.gov ([160.91.254.10]) by iron1.ornl.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Feb 2018 18:12:05 -0500 Received: from EXCHCS31.ornl.gov (exchcs31.ornl.gov [128.219.12.145]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by emgwy2.ornl.gov (Postfix) with ESMTPS id 3zsBCn0Qrfz2T5hv; Wed, 28 Feb 2018 18:12:05 -0500 (EST) Received: from EXCHCS34.ornl.gov (128.219.12.148) by EXCHCS31.ornl.gov (128.219.12.145) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 28 Feb 2018 18:12:04 -0500 Received: from EXCHCS33.ornl.gov (128.219.12.147) by EXCHCS34.ornl.gov (128.219.12.148) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 28 Feb 2018 18:12:04 -0500 Received: from EXCHCS33.ornl.gov ([fe80::8d3a:2313:2176:93cd]) by EXCHCS33.ornl.gov ([fe80::8d3a:2313:2176:93cd%15]) with mapi id 15.00.1320.000; Wed, 28 Feb 2018 18:12:04 -0500 From: "Atchley, Scott" To: Open MPI Developers CC: Andrew Morton , Mike Rapoport , Alexander Viro , "linux-mm@kvack.org" , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-api@vger.kernel.org" , "criu@openvz.org" , "gdb@sourceware.org" , "rr-dev@mozilla.org" , Arnd Bergmann , Michael Kerrisk , Thomas Gleixner , Josh Triplett , Jann Horn , Greg KH , Andrei Vagin Subject: Re: [OMPI devel] [PATCH v5 0/4] vm: add a syscall to map a process memory into a pipe Thread-Topic: [OMPI devel] [PATCH v5 0/4] vm: add a syscall to map a process memory into a pipe Thread-Index: AQHTrx77SUw08zht9EKLMPo/QSRNsaO6B1GCgADBW4A= Date: Wed, 28 Feb 2018 23:12:03 +0000 Message-ID: References: <1515479453-14672-1-git-send-email-rppt@linux.vnet.ibm.com> <20180220164406.3ec34509376f16841dc66e34@linux-foundation.org> <3122ec5a-7f73-f6b4-33ea-8c10ef32e5b0@virtuozzo.com> <20180227021818.GA31386@altlinux.org> <627ac4f8-a52d-0582-0c9e-e70ea667fa7e@virtuozzo.com> In-Reply-To: <627ac4f8-a52d-0582-0c9e-e70ea667fa7e@virtuozzo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3124) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [128.219.12.132] Content-Type: text/plain; charset="us-ascii" Content-ID: <37B81FBCB154B54D891DDE89E76BC0D1@ornl.gov> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Feb 28, 2018, at 2:12 AM, Pavel Emelyanov wrote: >=20 > On 02/27/2018 05:18 AM, Dmitry V. Levin wrote: >> On Mon, Feb 26, 2018 at 12:02:25PM +0300, Pavel Emelyanov wrote: >>> On 02/21/2018 03:44 AM, Andrew Morton wrote: >>>> On Tue, 9 Jan 2018 08:30:49 +0200 Mike Rapoport wrote: >>>>=20 >>>>> This patches introduces new process_vmsplice system call that combine= s >>>>> functionality of process_vm_read and vmsplice. >>>>=20 >>>> All seems fairly strightforward. The big question is: do we know that >>>> people will actually use this, and get sufficient value from it to >>>> justify its addition? >>>=20 >>> Yes, that's what bothers us a lot too :) I've tried to start with findi= ng out if anyone=20 >>> used the sys_read/write_process_vm() calls, but failed :( Does anybody = know how popular >>> these syscalls are? >>=20 >> Well, process_vm_readv itself is quite popular, it's used by debuggers n= owadays, >> see e.g. >> $ strace -qq -esignal=3Dnone -eprocess_vm_readv strace -qq -o/dev/null c= at /dev/null >=20 > I see. Well, yes, this use-case will not benefit much from remote splice.= How about more > interactive debug by, say, gdb? It may attach, then splice all the memory= , then analyze > the victim code/data w/o copying it to its address space? >=20 > -- Pavel I may be completely off base, but could a FUSE daemon use this to read memo= ry from the client and dump it to a file descriptor without copying the dat= a into the kernel?=20