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=-5.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 78D06C00A89 for ; Mon, 2 Nov 2020 09:31:29 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BA2E92225E for ; Mon, 2 Nov 2020 09:31:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QO86cJeE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA2E92225E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 15B8D6B005C; Mon, 2 Nov 2020 04:31:28 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 10BA86B005D; Mon, 2 Nov 2020 04:31:28 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F3CAA6B0068; Mon, 2 Nov 2020 04:31:27 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0009.hostedemail.com [216.40.44.9]) by kanga.kvack.org (Postfix) with ESMTP id C5A1C6B005C for ; Mon, 2 Nov 2020 04:31:27 -0500 (EST) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 6E46A180AD807 for ; Mon, 2 Nov 2020 09:31:27 +0000 (UTC) X-FDA: 77438960214.15.cup28_14043a9272ae Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin15.hostedemail.com (Postfix) with ESMTP id 31AD61814B0C9 for ; Mon, 2 Nov 2020 09:31:27 +0000 (UTC) X-HE-Tag: cup28_14043a9272ae X-Filterd-Recvd-Size: 4333 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by imf37.hostedemail.com (Postfix) with ESMTP for ; Mon, 2 Nov 2020 09:31:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604309486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o+m0mtfbnYwB+7o3eCQVGYITMN3Bzgb+rUtRGnSkpQU=; b=QO86cJeEOyLDcuyFZkIcnjGZuo+wx8I8wv6dBZjpKlbJFcd45l5F7pdGPPkDxEzH0bMbYm JcG/9J+nyh8ChPurTq8IQz5OJU6pMisH5zz2DC5yyHhBlhsbUu6cqonopXZZoVqyiVW5w1 E+rt7tczLzoVVMvDV6LopYGaBldtjaw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-467-xXcE_EO7NHiRYqvQ1uKZrQ-1; Mon, 02 Nov 2020 04:31:21 -0500 X-MC-Unique: xXcE_EO7NHiRYqvQ1uKZrQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7C795107AFD3; Mon, 2 Nov 2020 09:31:17 +0000 (UTC) Received: from [10.36.113.163] (ovpn-113-163.ams2.redhat.com [10.36.113.163]) by smtp.corp.redhat.com (Postfix) with ESMTP id 752BE6EF5A; Mon, 2 Nov 2020 09:31:10 +0000 (UTC) Subject: Re: [PATCH v6 0/6] mm: introduce memfd_secret system call to create "secret" memory areas From: David Hildenbrand To: Mike Rapoport , Andrew Morton Cc: Alexander Viro , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Christopher Lameter , Dan Williams , Dave Hansen , Elena Reshetova , "H. Peter Anvin" , Idan Yaniv , Ingo Molnar , James Bottomley , "Kirill A. Shutemov" , Matthew Wilcox , Mark Rutland , Mike Rapoport , Michael Kerrisk , Palmer Dabbelt , Paul Walmsley , Peter Zijlstra , Thomas Gleixner , Shuah Khan , Tycho Andersen , Will Deacon , linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-riscv@lists.infradead.org, x86@kernel.org References: <20200924132904.1391-1-rppt@kernel.org> <9c38ac3b-c677-6a87-ce82-ec53b69eaf71@redhat.com> Organization: Red Hat GmbH Message-ID: <0f095c22-4a3a-3213-a853-c1c859c357e2@redhat.com> Date: Mon, 2 Nov 2020 10:31:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <9c38ac3b-c677-6a87-ce82-ec53b69eaf71@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 02.11.20 10:11, David Hildenbrand wrote: > On 24.09.20 15:28, Mike Rapoport wrote: >> From: Mike Rapoport >> >> Hi, >> >> This is an implementation of "secret" mappings backed by a file descriptor. >> I've dropped the boot time reservation patch for now as it is not strictly >> required for the basic usage and can be easily added later either with or >> without CMA. > > Hi Mike, > > I'd like to stress again that I'd prefer *any* secretmem allocations > going via CMA as long as these pages are unmovable. The user can > allocate a non-significant amount of unmovable allocations only fenced lol, "non-neglectable" or "significant". Guess I need another coffee :) -- Thanks, David / dhildenb