Message ID | 20231027182217.3615211-1-seanjc@google.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62C62C25B47 for <linux-mm@archiver.kernel.org>; Fri, 27 Oct 2023 18:22:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EF8E2900003; Fri, 27 Oct 2023 14:22:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E8050900002; Fri, 27 Oct 2023 14:22:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CFB6A900003; Fri, 27 Oct 2023 14:22:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id B95D6900002 for <linux-mm@kvack.org>; Fri, 27 Oct 2023 14:22:28 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 96C39B60FA for <linux-mm@kvack.org>; Fri, 27 Oct 2023 18:22:28 +0000 (UTC) X-FDA: 81392061576.07.26FE3A7 Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) by imf04.hostedemail.com (Postfix) with ESMTP id B2BA640002 for <linux-mm@kvack.org>; Fri, 27 Oct 2023 18:22:26 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=EzcqqhfI; spf=pass (imf04.hostedemail.com: domain of 34f87ZQYKCAIugcpleiqqing.eqonkpwz-oomxcem.qti@flex--seanjc.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=34f87ZQYKCAIugcpleiqqing.eqonkpwz-oomxcem.qti@flex--seanjc.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1698430946; h=from:from:sender:reply-to: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: references:dkim-signature; bh=fUZ5ENGgmRmdtlmB4O/zxFZAY6wVMss4e0CPBbiQKYo=; b=ejNVz1qd2HjXAWKaxR+l5afPAkanD21Rm0By/vjZHLDBF3qURDG0ew1pUt8B8Yjaai+Omp PlKaqeXRKHS6TA8YwAivTmyKsYgt037KfyHpSxaNFBdkz8702U+RcEDJghxMrKpfraxc8J LmeZuoh9DWLhw+bcEnXA43k0cyi9QW8= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=EzcqqhfI; spf=pass (imf04.hostedemail.com: domain of 34f87ZQYKCAIugcpleiqqing.eqonkpwz-oomxcem.qti@flex--seanjc.bounces.google.com designates 209.85.219.202 as permitted sender) smtp.mailfrom=34f87ZQYKCAIugcpleiqqing.eqonkpwz-oomxcem.qti@flex--seanjc.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1698430946; a=rsa-sha256; cv=none; b=0MoJTMxqMN/U/wTWAFbp7PrDwZl0OF2uzoxqcK0mgUq5lTllYeQ3VDhH+UTyoUgOXC1BsE 5N2DpDuPHC9e9IPkvKTg6ml9FjbEBBcmQLscQq4Cg77DYOYGXZhc2aQcDdDThR5AXjmshG y3Gq5441i4n4vAobaNrUcc2udXjP7og= Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-da033914f7cso1721451276.0 for <linux-mm@kvack.org>; Fri, 27 Oct 2023 11:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698430945; x=1699035745; darn=kvack.org; h=content-transfer-encoding:cc:to:from:subject:message-id :mime-version:date:reply-to:from:to:cc:subject:date:message-id :reply-to; bh=fUZ5ENGgmRmdtlmB4O/zxFZAY6wVMss4e0CPBbiQKYo=; b=EzcqqhfIm99RHFMuoK6HN4UvgFI3raWGBu65VcgJeBlyA63TygyUDyMg3G5eDc8fnM HXBIlE0AFFGS0qy5ft2cfG4u0Zjqo96FiWCzwIK95dVqVFHZQ7QS9wnegUk70P3JYe/M Eu6tITj1akV8FFzheSww7VxdTYnKTrubQCWI4iOMm1ErX2JfFKDnavJZ/rLnvFXftEmW jyOMf7DFpkg+/TCbQaoD+gjVUPwYkL1FPcUUz9SQYQ+pGzvuXRrYWjjsL80t+hW+DJk5 Vxs54gpyniw08ra4bds97Z7Jnj2YTOo8k2re+DD7MsXmonDUhwGxZ9axTVa7Zxe/azl+ wcfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698430945; x=1699035745; h=content-transfer-encoding:cc:to:from:subject:message-id :mime-version:date:reply-to:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=fUZ5ENGgmRmdtlmB4O/zxFZAY6wVMss4e0CPBbiQKYo=; b=evfmwULVzlZf5t8yhqozVZxSvab6gXzEG0uj/ii2L8XLAzIlp1Yq87CBL508sfNmj7 3gOhufOYhObUeRY/eAW18DCA9rDMKRqi73B5TANSMaYgJOBPOV/mkZ/zyT4W7sIrybAP MRH8GAA5LjiaEP5bZqGtH9TnA48ZhLwr1T3wi1tePY9BKLc+RRAQFq7NdynsC1tKMzEo Q8b5mU8lHMx7V6Jkc9rgis7BdFBVg7b4gGkmme6Qv2+Bz/2W7lexpg5b+mALKBmZKSmc OkvGppCzx/LOe0CRRRc/Yq++O/SMm5y2iYluAOG1CTvhO6YdUoxWyudtugiuNc7OVU/q 5z0g== X-Gm-Message-State: AOJu0Yy8Fk8490Yz8IIJmsRqKkTTYZBCeRUr5U8P8CkEBisQgno9ehtI +Yqw0Ae79SL44XmRyImyqh7SX0cv6TM= X-Google-Smtp-Source: AGHT+IGTik1l5+MoAT0aZ1l3D7LvoGlEGGN/NmlkhnDMNOMyyxG0/NfMrOpUoSzppBt5u8UnrWOecHFs6SQ= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:d601:0:b0:d9a:6b49:433d with SMTP id n1-20020a25d601000000b00d9a6b49433dmr66158ybg.6.1698430945618; Fri, 27 Oct 2023 11:22:25 -0700 (PDT) Reply-To: Sean Christopherson <seanjc@google.com> Date: Fri, 27 Oct 2023 11:21:42 -0700 Mime-Version: 1.0 X-Mailer: git-send-email 2.42.0.820.g83a721a137-goog Message-ID: <20231027182217.3615211-1-seanjc@google.com> Subject: [PATCH v13 00/35] KVM: guest_memfd() and per-page attributes From: Sean Christopherson <seanjc@google.com> To: Paolo Bonzini <pbonzini@redhat.com>, Marc Zyngier <maz@kernel.org>, Oliver Upton <oliver.upton@linux.dev>, Huacai Chen <chenhuacai@kernel.org>, Michael Ellerman <mpe@ellerman.id.au>, Anup Patel <anup@brainfault.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Sean Christopherson <seanjc@google.com>, Alexander Viro <viro@zeniv.linux.org.uk>, Christian Brauner <brauner@kernel.org>, "Matthew Wilcox (Oracle)" <willy@infradead.org>, Andrew Morton <akpm@linux-foundation.org> Cc: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Xiaoyao Li <xiaoyao.li@intel.com>, Xu Yilun <yilun.xu@intel.com>, Chao Peng <chao.p.peng@linux.intel.com>, Fuad Tabba <tabba@google.com>, Jarkko Sakkinen <jarkko@kernel.org>, Anish Moorthy <amoorthy@google.com>, David Matlack <dmatlack@google.com>, Yu Zhang <yu.c.zhang@linux.intel.com>, Isaku Yamahata <isaku.yamahata@intel.com>, " =?utf-8?q?Micka=C3=ABl_Sala?= =?utf-8?q?=C3=BCn?= " <mic@digikod.net>, Vlastimil Babka <vbabka@suse.cz>, Vishal Annapurve <vannapurve@google.com>, Ackerley Tng <ackerleytng@google.com>, Maciej Szmigiero <mail@maciej.szmigiero.name>, David Hildenbrand <david@redhat.com>, Quentin Perret <qperret@google.com>, Michael Roth <michael.roth@amd.com>, Wang <wei.w.wang@intel.com>, Liam Merwick <liam.merwick@oracle.com>, Isaku Yamahata <isaku.yamahata@gmail.com>, "Kirill A . Shutemov" <kirill.shutemov@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: B2BA640002 X-Rspam-User: X-Stat-Signature: cfadajbqmca5zifkubwe9wwtasz8tucb X-Rspamd-Server: rspam01 X-HE-Tag: 1698430946-388990 X-HE-Meta: U2FsdGVkX18Wb5V6C/1pq992kVD553PKcsZ+xONecwBTI7dwANKqVIuQvq594KHXFGvMF+Za+a38mXoWJBraXzhg1waRfMCp5Ua9g1cjsOZQUvY6gvtduV3SQWSsbdG3RQfPu72NNY/8jyZ0RLFctOG/kZqvU4nrA+614dJpBG1gNqVwRKScIFvGkSO3RVuhk+8MOr3rq/RJFH8ews547JcTwyVfLC0Kok0mG7Ote6UvV0SMwiV+crjo+VJ0lqS7qn5nJ1Y0oXmp7yU/DRde+h/hvwwKkehEu36cPcehvfbLVbhFgSro2EVjLqqcRUZQ+XA29YL4HZ6cY2ABmaWSMNbfiMmniMn+WP/iYqvAMPkAKi+pQ4aQlATUQK1oyBf/BK+YWM8YQ1rnxsLmSxqLFswbUWwu1OCm/rKaRIhxFkLUkamQdmjQEMHkS2Zu/CmPB88L7Bj+chcgiG8OJj9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bCdXrEshhKCFD9lL2e+Ax/m85AN4OUsnKsqzajEjYNz34waT3zqmk7CkboeFbfOVSHEY6zSAmeqOpVTjQpj8+wcPYz2tBXDpg+dF+Ih1K3M/M7Paaz5CSqe12vbPxtr4aHiHPPySyA68YFucq15WuQSo+EmkUSAZjl0DgiXICh8Awlij/F5ecBt1zzh5jk8630p2uPNsiJAZjWXRlXV6sV2+LKgpGXpF3JiXEHgwiaoX22vARZyTgu5MnOZbL+ofomuSkoDvETWpbs8/6QhodaYlPo19JnTZj9p2XWqo+tiRadF5wDyyVERestRxRcKAm2AtPkVcpT7mWvmcxeg= 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
KVM: guest_memfd() and per-page attributes
|
expand
|
On 10/27/23 20:21, Sean Christopherson wrote: > Non-KVM people, please take a gander at two small-ish patches buried in the > middle of this series: > > fs: Export anon_inode_getfile_secure() for use by KVM > mm: Add AS_UNMOVABLE to mark mapping as completely unmovable > > Our plan/hope is to take this through the KVM tree for 6.8, reviews (and acks!) > would be much appreciated. Note, adding AS_UNMOVABLE isn't strictly required as > it's "just" an optimization, but we'd prefer to have it in place straightaway. Reporting what I wrote in the other thread, for wider distribution: I'm going to wait a couple days more for reviews to come in, post a v14 myself, and apply the series to kvm/next as soon as Linus merges the 6.7 changes. The series will be based on the 6.7 tags/for-linus, and when 6.7-rc1 comes up, I'll do this to straighten the history: git checkout kvm/next git tag -s -f kvm-gmem HEAD git reset --hard v6.7-rc1 git merge tags/kvm-gmem # fix conflict with Christian Brauner's VFS series git commit git push kvm 6.8 is not going to be out for four months, and I'm pretty sure that anything that would be discovered within "a few weeks" can also be applied on top, and the heaviness of a 35-patch series will outweigh any imperfections by a long margin. (Full disclosure: this is _also_ because I want to apply this series to the RHEL kernel, and Red Hat has a high level of disdain for non-upstream patches. But it's mostly because I want all dependencies to be able to move on and be developed on top of stock kvm/next). Paolo