Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp13763pxb; Mon, 8 Feb 2021 13:45:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrlDllQivJzQmn7U6LNx3A7HwEF1dWY9VC8ZHYpQ31Ny6YwiPNLLQzlsiBmfmsAgbZzvP8 X-Received: by 2002:a17:906:6bda:: with SMTP id t26mr9022837ejs.50.1612820759237; Mon, 08 Feb 2021 13:45:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612820759; cv=none; d=google.com; s=arc-20160816; b=DOkvZM3EGqtQLrWCLTilgeFwjuV9r+BWCSKHjdFIxO4hMNVC1BRs+nosM42ZH1tG2x e+GEgcRrE1LZ8AyhDdiVtfmJNn45XJQGu7JUHLnlUx8wear7cgYSVT5JJ/W3WHBdvpxN UjKqiaZYvTRpBQYqBStdSwdvxGeM51E25BfsOJefUrle66QP5nXpIAJGdXaGo8ya8rs6 +sJ2bt0yMdhuIRawq5HZwagliyBs+xjlmo2vlFowAcsnLR8SCWG/YFCWiNbKqdZWhww4 m5OpYnz/r1SdzuqyNG1VmE0t8O6S4dXBSk2g5/qlgeaseB8xAb8yKKxJaiHBOmDmLqgh NTyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TTk02PLo04n3yVZ87V6g44mPTOdbYTy+m2CTQZu9eXo=; b=qVxtcv6cXY3sydLfVqNtpd2iQS9Up4jMM/MtevEudfq62nwDMUMC72YIn3lDYyRrDD Ve0g2DSnIm0vaFCZk/Zuifkt+i61HPu5TWJe9udoH3TtkI331mO3HYSJ1TfqLyrGIIEA YhNQqjHLXsDaCcmkO3zRzY2XAJMrcGSmkACLDxeRioU95pbGCmOGFRsIVD0XR0vi4MWF GV29WZpae6+ezatVMwlgKxqzM//H5SfMDNtp/8QWv7zxOtemzUgm4bH5tYU/z/KgQMP7 RfX0xUxQCt/3qyV3j9zAoMsJf2fIf6a7woPyGGfbdS7yjSTOu02WcwQXxdSn98fnd9ao o3bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DqkWj9Ur; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si12738271edt.86.2021.02.08.13.45.35; Mon, 08 Feb 2021 13:45:59 -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=@kernel.org header.s=k20201202 header.b=DqkWj9Ur; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237011AbhBHVnG (ORCPT + 99 others); Mon, 8 Feb 2021 16:43:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:33264 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236304AbhBHVOa (ORCPT ); Mon, 8 Feb 2021 16:14:30 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2A15364E8F; Mon, 8 Feb 2021 21:13:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612818828; bh=Hsw7u4NisXSHdMbN0miFLrU3qob/BtZRKy5D0WtD4mQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DqkWj9UrgaNlN7tor4WlT/PbjHoDhVkTAWVyRtiehKqBsBIlg2zRzOAntGDW+86wx t9LmuXLRYqrHRZcBc7unC6XAhPNWrMcUUEvHAvwnkCUgMKqMFZnL9bm2GNE5aC4pUI g9uqZwzHwFkcQ+XmsVzR8yYGxPKdKhbTnQ7myE7Mj0cV6qw47j0NdId0MJHEqRslub /el3Boy5sSLWlkjK0Pm94QQLob4G/uLz4vRWnNapLgu2mZBiTSGLPUWdmMesgwLpz4 8w43a6xpBzhX2L15Qekz5VMG+RTL22BH8Ov5Tcl9FLLVyaJGQwK59/7ht8rPcFYKmt XQ6gGB3oh8qzg== Date: Mon, 8 Feb 2021 23:13:26 +0200 From: Mike Rapoport To: David Hildenbrand Cc: Andrew Morton , Alexander Viro , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Christopher Lameter , Dan Williams , Dave Hansen , Elena Reshetova , "H. Peter Anvin" , Ingo Molnar , James Bottomley , "Kirill A. Shutemov" , Matthew Wilcox , Mark Rutland , Michal Hocko , Mike Rapoport , Michael Kerrisk , Palmer Dabbelt , Paul Walmsley , Peter Zijlstra , Rick Edgecombe , Roman Gushchin , Shakeel Butt , Shuah Khan , 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-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-riscv@lists.infradead.org, x86@kernel.org Subject: Re: [PATCH v17 00/10] mm: introduce memfd_secret system call to create "secret" memory areas Message-ID: <20210208211326.GV242749@kernel.org> References: <20210208084920.2884-1-rppt@kernel.org> <4996348d-5710-d77d-bb14-d84e370b4a5c@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4996348d-5710-d77d-bb14-d84e370b4a5c@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 08, 2021 at 10:27:18AM +0100, David Hildenbrand wrote: > On 08.02.21 09:49, Mike Rapoport wrote: > > Some questions (and request to document the answers) as we now allow to have > unmovable allocations all over the place and I don't see a single comment > regarding that in the cover letter: > > 1. How will the issue of plenty of unmovable allocations for user space be > tackled in the future? > > 2. How has this issue been documented? E.g., interaction with ZONE_MOVABLE > and CMA, alloc_conig_range()/alloc_contig_pages?. Secretmem sets the mappings gfp mask to GFP_HIGHUSER, so it does not allocate movable pages at the first place. > 3. How are the plans to support migration in the future and which interface > changes will be required? (Michal mentioned some good points to make this > configurable via the interface, we should plan ahead and document) The only interface change required is an addition of bit value for syscall flags, I really think it can be documented with the addition of migration or any other feature for that sake. -- Sincerely yours, Mike.