From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44D7FC2D0C6 for ; Wed, 11 Dec 2019 15:51:34 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id EEBE42073B for ; Wed, 11 Dec 2019 15:51:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=shutemov-name.20150623.gappssmtp.com header.i=@shutemov-name.20150623.gappssmtp.com header.b="GpBur+eo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EEBE42073B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=shutemov.name Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 9D9206B32B4; Wed, 11 Dec 2019 10:51:33 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9623F6B32B5; Wed, 11 Dec 2019 10:51:33 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 829E66B32B6; Wed, 11 Dec 2019 10:51:33 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0082.hostedemail.com [216.40.44.82]) by kanga.kvack.org (Postfix) with ESMTP id 6EA086B32B4 for ; Wed, 11 Dec 2019 10:51:33 -0500 (EST) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id EABB6181AEF1A for ; Wed, 11 Dec 2019 15:51:32 +0000 (UTC) X-FDA: 76253300424.19.arch90_47a9c78e79d44 X-HE-Tag: arch90_47a9c78e79d44 X-Filterd-Recvd-Size: 4017 Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) by imf16.hostedemail.com (Postfix) with ESMTP for ; Wed, 11 Dec 2019 15:51:32 +0000 (UTC) Received: by mail-lf1-f65.google.com with SMTP id 203so17035099lfa.12 for ; Wed, 11 Dec 2019 07:51:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=JVxmozJr3Sta+dSiA5lZFDUNBwlmE17tc5tCYYXFj2Q=; b=GpBur+eo0Do65A3e8co1yh/LE3h06kNXdEALUBAEFcAlBOf9nWZEDO3y1FkdM9V5ka 4jlTdMeRt4xf1pBeNK8nNeLree17dsViqpPE+IW89ovKqSQMGDIphCn3JksAnXJbVPIe lhPYTkVdqtiIoy+G3FGu5qvf0IlIHmS4B8uQKYz+vUGIL6fH4+3ysE24YbI7+r7OpRQf rk3eNbEYrGOidiQWR29W4IK+z/2NayrRBdjX1Ddgmmhcqyc/wHru+nyevCbc4BMXBigP DoE5xrRZXmXZqBWjZX8gBAmZQwkiJ5J1M8nQ41xOHV6VMfz/GD88HU+6PkAFpFRBd1ZP /srw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=JVxmozJr3Sta+dSiA5lZFDUNBwlmE17tc5tCYYXFj2Q=; b=evs042Y0ztnwSz8G3P7DEnPKeO7dAUja+IfXSRH59a6SKmlDofSzxLvZ9Visf+1NsI UurOSrTpkKa/noDfjgUwXxAo78M/Cr6nIIfKYOXCGlhs3G3/iesW1Zqd8k6oMGbWWAUq F05CnHfxwi4A01BA9QRogeKuyn+pxblxU/Fl9/Q17Bhij4T79TIfCHerUibmnUSufBky pGHCcwPl4+gmj56O7F3B4kvgP94PP+FQg2L3VUGySQ6d5aRWdf7Ic0NDXhaJWg6Vt9+9 13QiZrjYenSPoWureDO8JuyPUoauOzyvwMs27fjQ47CKcVBJX4STTpi0zS1PXFI9EJde o3pg== X-Gm-Message-State: APjAAAUR7Lv67sL8NgimNODpQJ7vUiktCDWoEWK1tpAI3i32I8QY184A 40F//Ynd79C1Hwo+ef1ULOITbQ== X-Google-Smtp-Source: APXvYqxFU9Gc4o96yvCowJhC05DT/oUFClz+R86rUP1Pi66OB6W2qTh5Rg/bUqLE/VDQ0YCk4DoVSA== X-Received: by 2002:ac2:5ec3:: with SMTP id d3mr2647396lfq.176.1576079490855; Wed, 11 Dec 2019 07:51:30 -0800 (PST) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id 30sm1594935ljv.99.2019.12.11.07.51.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 07:51:30 -0800 (PST) Received: by box.localdomain (Postfix, from userid 1000) id BF295101218; Wed, 11 Dec 2019 18:51:30 +0300 (+03) Date: Wed, 11 Dec 2019 18:51:30 +0300 From: "Kirill A. Shutemov" To: Mircea CIRJALIU - MELIU Cc: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Jerome Glisse , Paolo Bonzini , "aarcange@redhat.com" Subject: Re: [RFC PATCH v1 1/4] mm/remote_mapping: mirror a process address space Message-ID: <20191211155130.gk5qcuahzo2w3qyh@box> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000004, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Dec 11, 2019 at 09:29:17AM +0000, Mircea CIRJALIU - MELIU wrote: > Use a device to inspect another process address space via page table mirroring. > Give this device a source process PID via an ioctl(), then use mmap() > to analyze the source process address space like an ordinary file. > Process address space mirroring is limited to anon VMAs. > The device mirrors page tables on demand (faults) and invalidates them > by listening to MMU notifier events. It's way to brief to justify the new interface. Use cases? Why current intefaces are not enough? There's nothing in the description that would convince me to look at the code. -- Kirill A. Shutemov