Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1740833ybg; Sun, 27 Oct 2019 04:02:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeHdK8DbYT2YPzOtBP4Dzmm/53io9HEt0o7yx1PcS71L3iOm4BkJ/RnA9C6hzcywuUU83x X-Received: by 2002:a50:fa03:: with SMTP id b3mr4296151edq.173.1572174150946; Sun, 27 Oct 2019 04:02:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572174150; cv=none; d=google.com; s=arc-20160816; b=QTxNyBwQhw1+IkvuDL+9c7SSBE6cSTnp2/WD2eMqm8SgUjfSrIRwVKfUkkWV1ZhfiN PA/Qz1rMbdQKjyZv+BiZQ2BHdI7Sr1VQua88GMTVhWRfL12MPPYJny881NSCw+kTh/i0 /kEbXGKbdO4CY71WXltAQ0JtrvDvYMXwcKqyG/HhdpcMCQ6qSgytKK9BlnMogCviiX10 SOZya2/kHfveG61P0J3o+rIq9LLqVIXb0yy67ceTkrKyJnIw1WWXy1OY/ly+Si943BDV wnn4tuCcsPcF4NNrJSI9QP/iaUdNnlmTLsaLZLtG1j/OxANckj1bfJWcbwrsw++BuuVX pLIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to:date :references:subject:cc:to:from; bh=+ME5pndC8+EmQHE4GnbiQuP/x9zdMFGOGVPvc6JoN5U=; b=ahm1mHbRkNqc+RlopUZy43I8Siqb2WnQ5BkEiPPgKDwEZDXUNS5e4pqRDL+x6QMK2M R2tMQoOsli5vJhg9QdCAu/YAtmdpZmL/dXHAFkohGo/EG8lM5FRqf3RzMumUG+uZjwxT onnwBZ1mfAXUtkRcdhKaD7lYzMEhlFB7AzsnliB1ku/YKDAGEps/oWOCH7hELmHUHZ3g fbqpL0pKaTXTMlKAaKKp72SlXZ41bTu8Ke3QQTViLMrxAN9EsNH5GHQ8B1R5/gkrNv0T FQbx1xp0xY/Zt+tmJgbgI774hu8SJtI7/694sMOWeZk+mdJaBYNgY7ZONSLEH9bpKvAU wP9A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7si4447297ejm.375.2019.10.27.04.01.34; Sun, 27 Oct 2019 04:02:30 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726747AbfJ0Ka2 (ORCPT + 99 others); Sun, 27 Oct 2019 06:30:28 -0400 Received: from albireo.enyo.de ([37.24.231.21]:50102 "EHLO albireo.enyo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726632AbfJ0Ka1 (ORCPT ); Sun, 27 Oct 2019 06:30:27 -0400 Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1iOfoT-0004Rc-RC; Sun, 27 Oct 2019 10:30:21 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.92) (envelope-from ) id 1iOfoT-00038w-IP; Sun, 27 Oct 2019 11:30:21 +0100 From: Florian Weimer To: Mike Rapoport Cc: linux-kernel@vger.kernel.org, Alexey Dobriyan , Andrew Morton , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Dave Hansen , James Bottomley , Peter Zijlstra , Steven Rostedt , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , linux-api@vger.kernel.org, linux-mm@kvack.org, x86@kernel.org, Mike Rapoport Subject: Re: [PATCH RFC] mm: add MAP_EXCLUSIVE to create exclusive user mappings References: <1572171452-7958-1-git-send-email-rppt@kernel.org> Date: Sun, 27 Oct 2019 11:30:21 +0100 In-Reply-To: <1572171452-7958-1-git-send-email-rppt@kernel.org> (Mike Rapoport's message of "Sun, 27 Oct 2019 12:17:31 +0200") Message-ID: <87d0eieb0i.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Mike Rapoport: > The patch below aims to allow applications to create mappins that have > pages visible only to the owning process. Such mappings could be used to > store secrets so that these secrets are not visible neither to other > processes nor to the kernel. How is this expected to interact with CRIU? > I've only tested the basic functionality, the changes should be verified > against THP/migration/compaction. Yet, I'd appreciate early feedback. What are the expected semantics for VM migration? Should it fail?