Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1348365pxa; Thu, 6 Aug 2020 05:52:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXhlZR3WT1MPth82csk9xtzBFsOrDh+jFO/LPPbk+2QCPFSVheJ1rku37jLDYIeCCgPSiC X-Received: by 2002:aa7:c697:: with SMTP id n23mr3831437edq.50.1596718378273; Thu, 06 Aug 2020 05:52:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596718378; cv=none; d=google.com; s=arc-20160816; b=AKqMmdei7I7HFayNDXKetZQQqeq7GZAywKI/dicHBFj3Id3QiW938MoshzdQolwy5N uMmNSkrRzp+ltvCWyU6SNz5ZO88viyS8pI0xjNXk8f9/AP/ruXwwqx0Z3RguMO9eFodV RYvjZEwq65zRlPoXNR3m0LDQuN65unOiQ2im2iPdGSuCLJ1vytLxZYkpeGAprsEpcgqT KN/A/jAcouO+wTfYuLC8/aftG9JigNmWvI+A8EnoncyqYb9r8FlCpLeIZMkOAsMeknJg h2Ee5GoTCXCBDppA0jfO3L0ad5DtdNvKCGVkkMQyC0pcNIRrqboB6fX/W39fBLlfEtqc rOxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=kU1vy7pJnVFO2LSQLP+CMzQwOeLzo+kCNJ6ZhHrdxgw=; b=xkRcrbCh8ug+7u3WsYuk/f5k6C94CrIUTa9bmEC0AR1PXcShEoWczPKQRtAoPkXEYX pKvOR0cPuUOKUNX2ObxUEzZN1+SiEPPlpSi6+Txi3ZCDV+0lDjZai+C5wVe7QCRwAZQj zlOGM+R3O+TnlPDHY2hk0HMfU5H+7+UT+Xu4UhUVAwftNDQ1aJFb+iBvrNLBkBXjDeQu rCdWQIRlLTBBaWgfsdLj9clHswCP4OvPtcPzr6anWpBCYLGPmMGdHNyWyCesNCZOlN2S LjdxwQc7114qHOyh51bZHGt1o7K+iHKpIaQB+OI8ZhOMgxvkd3Fb4e/2nfTU3sjqpg/Z PCSA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k22si3495174edv.26.2020.08.06.05.52.32; Thu, 06 Aug 2020 05:52:58 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729291AbgHFMuU (ORCPT + 99 others); Thu, 6 Aug 2020 08:50:20 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:18576 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725272AbgHFLNu (ORCPT ); Thu, 6 Aug 2020 07:13:50 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 076B27hF073142; Thu, 6 Aug 2020 07:11:14 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 32rfvv9d7h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Aug 2020 07:11:14 -0400 Received: from m0098393.ppops.net (m0098393.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 076B6D04086959; Thu, 6 Aug 2020 07:11:13 -0400 Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 32rfvv9d6j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Aug 2020 07:11:13 -0400 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 076BAWFJ024047; Thu, 6 Aug 2020 11:11:10 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma04fra.de.ibm.com with ESMTP id 32n018b9k5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 06 Aug 2020 11:11:10 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 076BB82e21496274 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Aug 2020 11:11:08 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 49BE211C052; Thu, 6 Aug 2020 11:11:08 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EFE8111C050; Thu, 6 Aug 2020 11:11:04 +0000 (GMT) Received: from linux.ibm.com (unknown [9.145.24.39]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 6 Aug 2020 11:11:04 +0000 (GMT) Date: Thu, 6 Aug 2020 14:11:02 +0300 From: Mike Rapoport To: Randy Dunlap Cc: Mike Rapoport , linux-kernel@vger.kernel.org, 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 , 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 Subject: Re: [PATCH v3 3/6] mm: introduce memfd_secret system call to create "secret" memory areas Message-ID: <20200806111102.GK163101@linux.ibm.com> References: <20200804095035.18778-1-rppt@kernel.org> <20200804095035.18778-4-rppt@kernel.org> <1f52d43e-29e4-b175-73d5-0aa3c3e79f23@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1f52d43e-29e4-b175-73d5-0aa3c3e79f23@infradead.org> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-08-06_06:2020-08-06,2020-08-06 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 adultscore=0 mlxlogscore=935 suspectscore=1 clxscore=1015 impostorscore=0 mlxscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008060075 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 05, 2020 at 06:05:18AM -0700, Randy Dunlap wrote: > 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. Will fix. > > + select GENERIC_ALLOCATOR > > + > > endmenu > > > -- > ~Randy > -- Sincerely yours, Mike.