From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 24C41E7D0A2 for ; Thu, 21 Sep 2023 19:11:32 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=3V0HHgAx; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Rs4kp4v82z3cnW for ; Fri, 22 Sep 2023 05:11:30 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=3V0HHgAx; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=flex--seanjc.bounces.google.com (client-ip=2607:f8b0:4864:20::1149; helo=mail-yw1-x1149.google.com; envelope-from=3lpumzqykdlkrdzmibfnnfkd.bnlkhmtwoob-cdukhrsr.nykzar.nqf@flex--seanjc.bounces.google.com; receiver=lists.ozlabs.org) Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Rs4jt0Yspz3cRv for ; Fri, 22 Sep 2023 05:10:40 +1000 (AEST) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-59beea5ce93so25729667b3.0 for ; Thu, 21 Sep 2023 12:10:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695323438; x=1695928238; darn=lists.ozlabs.org; h=to:from:subject:message-id:references:mime-version:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=msCRqftjzvMka6Rl5V/NvDEz768neF2Qswneru1ptF4=; b=3V0HHgAxxC7SuOdFflpzIefwA5UsKP5WqCibJTPBKNZEkVRtg9ZpWJyhHx9Drvl5FE Xd0Z6kKy7bqfS0vRsvLVNakfhyljB4RllcelaaSKlqJtBS4fo8JvqZrR871le9fQSoeC 29UEn6igiSFXNRl8hVKHdv78rHgSRYAMP8HR5VJm79RwZkSM59dJ9A5wIgi8CVJ6wiTX 9xvtVI/brIaKfXDFZSEXFS14CXh4FPIQ/14Z0U5A6S9AA03ObknAK37utjdXTUBrxe3R B9VAaklv8mNuh9/TankPdAqpV3X+exdVamMSrE/bWT1xCCyfwWhWus++Sl8EweNS4uFX vuzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695323438; x=1695928238; h=to:from:subject:message-id:references:mime-version:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=msCRqftjzvMka6Rl5V/NvDEz768neF2Qswneru1ptF4=; b=UtYjLnLAFIxmO/gNudj0wN9kK/54GlQTpUiecL/zwS/oHxi2SXNXcSsHCVm7BtfN/U RBoK53ZGqB18eS+I7ee6uXTNnqCcFCu6DklUcGRlb9vTUKA2kXsN1OSO7gqmvOj70A95 8EtlHRRlNTvv7WCZU71CBghDiwoTmB5pEKK+DiaGsmNGE2I5U85Ek71spJAR+HWuz9QD RIxnzD8lpAAQ7f4IVXt3ufxHooo2iJDUBIJER+5MuJ2pKUCXRsJ5Erc0Wj7SmeSyp3Qc i3VGWpcQYGeKd27DpVhrg7kD2VRLLiPtNpKO6pNMu7V2AEdwpelYOQLIhnjT7pPmmkwP PFKw== X-Gm-Message-State: AOJu0YzRFxPbsDyj3tsV+gf1Dqxkou7q4pm0AmC8w2YjzocwOiYwJVQh fOxYMkWojOHG7atibv3t5/rx056E1oM= X-Google-Smtp-Source: AGHT+IHW881nAqFnjABVXUT4908B5v4pAo/onJespz4HnG5MCVd8NLEq9DsMcDxqDXD3hJb4Zo/K0u0JOVE= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:690c:70a:b0:58c:e8da:4d1a with SMTP id bs10-20020a05690c070a00b0058ce8da4d1amr8361ywb.2.1695323438500; Thu, 21 Sep 2023 12:10:38 -0700 (PDT) Date: Thu, 21 Sep 2023 12:10:36 -0700 In-Reply-To: <20230914015531.1419405-15-seanjc@google.com> Mime-Version: 1.0 References: <20230914015531.1419405-1-seanjc@google.com> <20230914015531.1419405-15-seanjc@google.com> Message-ID: Subject: Re: [RFC PATCH v12 14/33] KVM: Add KVM_CREATE_GUEST_MEMFD ioctl() for guest-specific backing memory From: Sean Christopherson To: Paolo Bonzini , Marc Zyngier , Oliver Upton , Huacai Chen , Michael Ellerman , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Matthew Wilcox (Oracle)" , Andrew Morton , Paul Moore , James Morris , "Serge E. Hallyn" , 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-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Chao Peng , Fuad Tabba , Jarkko Sakkinen , Anish Moorthy , Yu Zhang , Isaku Yamahata , Xu Yilun , Vlastimil Babka , Vishal Annapurve , Ackerley Tng , Maciej Szmigiero , David Hildenbrand , Quentin Perret , Michael Roth , Wang , Liam Merwick , Isaku Yamahata , "Kirill A . Shutemov" Content-Type: text/plain; charset="us-ascii" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, Sep 13, 2023, Sean Christopherson wrote: > virt/kvm/guest_mem.c | 593 +++++++++++++++++++++++++++++++++++++ Getting to the really important stuff... Anyone object to naming the new file guest_memfd.c instead of guest_mem.c? Just the file, i.e. still keep the gmem namespace. Using guest_memfd.c would make it much more obvious that the file holds more than generic "guest memory" APIs, and would provide a stronger conceptual connection with memfd.c.