Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp796121pxa; Wed, 5 Aug 2020 13:00:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJ9YW4u9Xje9yQVqRvIoKZA4xQxpvINyU+EHqeCEmGp/RqnBZlk+u8ezjPsXVIvtrBfA0f X-Received: by 2002:a05:6402:785:: with SMTP id d5mr941188edy.370.1596657646983; Wed, 05 Aug 2020 13:00:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596657646; cv=none; d=google.com; s=arc-20160816; b=tVeAGkLPL7uTSL3CJilBwaWi2DYNoe51yHg9TzEneunb9GpfWx1lAo9WMUxt8GmboX pUBHSbLzEIuKYwnVl3/Jo+h+Z89daKr83w+qjQ2SNpKlqYonCqA5GqTGU9FKTqV40Bpr gjeF4X5hQg9P0Ku6Yi+X1aXAS+D09dBud5jozKDahy70azKSdRpleS/5Qt/9PBJUlHWp I+6t05BNKP9WC8F7r4/aOcwKxGSu/bNE+MDcVps5x1khywaRQI/7hjEi0xuS6J98cFO2 9sc/bNakQeehW8LLof0Fihs24bfm55DrP1tWJSTv1ylJMyyfyVUXdzB4jkpHNQ0mQzXK WOIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=da1gRr0zZ2t7B4lRqNuRkoPDQjMi6ltCJuE8Al1tVCE=; b=nvw1N2D0DPf9RiozZxy6cuUhBJzickkq4wdaguuNQcnt3J7srNONH7e/8+LIyyYIk2 ykj8rfUkLkbwY10jELevM9czuPRXcnyPedYPiUz0JaB9yudFuCuEc5VMBTMwjvEVFHzO QnbKLdDPyGdU9KoGS33xtXjaD60iMXdHxFsFHzqB56WLjleS4B2JGaJ3l3leKIf+yb5n zQXA/amIjY9nzwQhCX68bT34QWkyse4pipsRJQlQpsrH/VNRILO1olFfIJUhTET+HRa1 HNDoUOu41dgq06FMbJWJms/RahcblGQ+4TCvQckun7YO8NW7JTTH+HJPWWZloK7R6lzr voFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=HWXVkRHw; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w15si1886451eja.399.2020.08.05.13.00.24; Wed, 05 Aug 2020 13:00:46 -0700 (PDT) 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=fail header.i=@infradead.org header.s=casper.20170209 header.b=HWXVkRHw; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729486AbgHET5G (ORCPT + 99 others); Wed, 5 Aug 2020 15:57:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727999AbgHEQoM (ORCPT ); Wed, 5 Aug 2020 12:44:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE2B5C034625; Wed, 5 Aug 2020 06:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=da1gRr0zZ2t7B4lRqNuRkoPDQjMi6ltCJuE8Al1tVCE=; b=HWXVkRHwN832dRG05UXHB0oBIw bVIHmST3idcP9ekdGW3zfjwF0Pw9NtKHZriMtDEWG2IfLDr6OCBzltDSMhOl6UaR4VB+MKj5TLP04 D+y2OfSJNRXduO2wurxCTyIhNrEbjOfxiC3fQ9kowloxLDsXYz+qNZBWskWkV4r67YJb5rni6tnxu zEaPdgkZf+diFOhUAogaiUm5PlxPfMHj+JY1pUqMrnKYwv3swkoiKxzB+3OAJw82jZfkAD5C/RvSG ZSbD7oGskSaQ/+z+rKi6n9bG70XhVIbZNtZ+0+ODNHwM6cKpRLNKr0S7UXSrAbxLcx/udZsOs7w26 cmMvbHww==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3J6n-0003pL-49; Wed, 05 Aug 2020 13:05:31 +0000 Subject: Re: [PATCH v3 3/6] mm: introduce memfd_secret system call to create "secret" memory areas To: Mike Rapoport , linux-kernel@vger.kernel.org Cc: Alexander Viro , Andrew Morton , 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 , 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-nvdimm@lists.01.org, linux-riscv@lists.infradead.org, x86@kernel.org References: <20200804095035.18778-1-rppt@kernel.org> <20200804095035.18778-4-rppt@kernel.org> From: Randy Dunlap Message-ID: <1f52d43e-29e4-b175-73d5-0aa3c3e79f23@infradead.org> Date: Wed, 5 Aug 2020 06:05:18 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200804095035.18778-4-rppt@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/4/20 2:50 AM, Mike Rapoport wrote: > diff --git a/mm/Kconfig b/mm/Kconfig > index f2104cc0d35c..8378175e72a4 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -872,4 +872,8 @@ config ARCH_HAS_HUGEPD > config MAPPING_DIRTY_HELPERS > bool > > +config SECRETMEM > + def_bool ARCH_HAS_SET_DIRECT_MAP && !EMBEDDED use tab above, not spaces. > + select GENERIC_ALLOCATOR > + > endmenu -- ~Randy