Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3166531pxx; Mon, 2 Nov 2020 01:33:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9MGn9ENbQ7tjPvBwbHB4kho9b8ByIIn75iRg8BeO8UV66jATCPOTXRtImuARksESHuXmX X-Received: by 2002:a17:906:b852:: with SMTP id ga18mr9211753ejb.80.1604309619431; Mon, 02 Nov 2020 01:33:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604309619; cv=none; d=google.com; s=arc-20160816; b=cRX/vlr/2ljHojNldXiuB6/ze94P0+xQ0CZfbEjdeKkrf86fyAG8USLPu2hUn5JNzk 6PDK03lwQ294cORheu6x8cfpqyK/hnvU45ue48bbIv7J3kUlzcRd7JjL+9QInpKxDSu7 Tfqn/e3BATMAThmHiHbClmCbFqvjOrV+VobI7oREm3fPt0g4TfQnQyGVOxSktbLkZKDv 0pncR+dwSP5Ic20ap3ZEHycDai+ePjanQ/8/slAaPoyQBcGKt/f40DWLRRms6+Z02Xtm l0cuqDyZY6KF5r/7B+1UHiK7MEFOXUnH85x2GdT7JqscGOwTqF4cwHKbvKrgoYA3yjsG F/Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :references:cc:to:from:subject:dkim-signature; bh=o+m0mtfbnYwB+7o3eCQVGYITMN3Bzgb+rUtRGnSkpQU=; b=tbtvNTmmIWKOPqDjWzmoq7LGEOjZ9Wwzu8xoNMQEgia5taQjnk4mMP2zEfctKM+dYP x/7b8tTsaYR54P+WijTK8l0Jyebz826BMdRAwewQyZq5XiTPeV1GrY59nuY3q4uwg041 XlQ/pvhHWnoO9nepwqjHk1eq1MbBybpDjohSmMSJ6tH/sI/bvHJKUaYtQ/JUmbXzzVFn w3XXVVYt+TJnUF9a3rFo07jyRdxUw5X0p3Wphj+kXKrq4HSjVSsh7tlo1lmsLubF8B6A IuqexzCNQ5hrMfgzH6hIXHPBwzQWkyTvZnv55b+zYhe2zQP+8u0zprQt3g2aZckw9fwW 235A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QO86cJeE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi9si14469114edb.4.2020.11.02.01.33.16; Mon, 02 Nov 2020 01:33:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QO86cJeE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728290AbgKBJb2 (ORCPT + 99 others); Mon, 2 Nov 2020 04:31:28 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:26634 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728253AbgKBJb1 (ORCPT ); Mon, 2 Nov 2020 04:31:27 -0500 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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