Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp973712iob; Fri, 13 May 2022 18:13:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqqStDZVmp6Ea0sDWg4ju8K2O94CZk0RhBhu9fLyQTCjWNp+cX3YYihJXds3qRuJoVDITU X-Received: by 2002:a05:6000:1e0b:b0:20c:5157:c0d6 with SMTP id bj11-20020a0560001e0b00b0020c5157c0d6mr5926516wrb.125.1652490817410; Fri, 13 May 2022 18:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652490817; cv=none; d=google.com; s=arc-20160816; b=ZJpGI+ymUUO5udEI6cxKUFDcJxKMs6zlfFtdxLt+85tj11+3nLoJiHdkxEPlBOzQVE kE0WJ2IfH7VmXzr1EY35aMxN4Ags8GPZOYU2ugc+2R+KrAeJxW2E7z01mt51ZNxXNfga iADLa0eaWOsMCyjuLYdHViat6RI+vl2eitckffX9u8ihppIRnsEHC4zFvSbpt8CGRslY pGh+csGMB9b67lyzjYfW+fKvXVLanH7ALazKIQVAkl9y3V382ijVldfmN38bB1ADdP6w 5/aUzkWkLMqIJmhIFVU0VKCxudhleNEtFqvfssqRry+Ub2qICXo+2MWm8XsXgugT5zL4 u0Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=ReqcyXDbUr+EEqNrN0X1PjL7n8Wdm/Pxb5GHqgBmxkU=; b=iLwiTbx8HuLQVZBU9ifYRIgZSkj6Hzj4OH/PXS5zaI3BEpZ0HOf/0NGfzEGVmilxLS Akq7g3zai6EE/x1K3FXPiruLldJ5angpeOAECPP+VbGqct82SbYWR3gjIUMKFJRhHUht 1lxjiyKVqmHznZY+33m8kLWKFTWcrBSQvLSQ56NCfl00Ky0tyZm/MttY/Hfq0CJkxVuK fdeHh6dS+dETaydDMOtgdS8Dul+YQV+NhzoHW/oYQs8/BNygxmQLp7xL3Wpy08HNRbRH Ek07HAHVs5tXggbR0IAAtSBCjHy8UkkwcsM4FrJcpT//BfzagLhps4JCsnzDjOJ5FGJc oNhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=fZyFgh4U; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l32-20020a05600c1d2000b003947f238f28si4527137wms.202.2022.05.13.18.13.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:13:37 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=fZyFgh4U; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3ADDB3A32C6; Fri, 13 May 2022 16:44:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357338AbiELRwq (ORCPT + 99 others); Thu, 12 May 2022 13:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352395AbiELRwp (ORCPT ); Thu, 12 May 2022 13:52:45 -0400 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58AD89B1AD for ; Thu, 12 May 2022 10:52:44 -0700 (PDT) Received: by mail-io1-xd34.google.com with SMTP id z18so6205527iob.5 for ; Thu, 12 May 2022 10:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ReqcyXDbUr+EEqNrN0X1PjL7n8Wdm/Pxb5GHqgBmxkU=; b=fZyFgh4Ut0aBeUNxcqJ11tuJaT5xpLR8z3OFh2Jgvu2sdaGumX6j2kf+9g0Z93Tfcx COjP4SdLzdLDFcerGjU/vjhpyLz4QqpdKaRmRearUGnJHdokDapmD/qSmw+z6N17DwpM e7diR7rZ2SlqAZyWp6Kr3hPVb2brq+gFZAIw8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ReqcyXDbUr+EEqNrN0X1PjL7n8Wdm/Pxb5GHqgBmxkU=; b=FODhWitxpscuNBK+inmyJNvM4doNqswCH9efB+eJVldxuKyNEFuAxjUphAofHkIT3B pb4NbN44TufpdhDastLo5dRJ8FJbOmi0kUa5IN1Gy9zd2UblEbOHXstqKdivvHD+w4en /WSjc0N+LMuhC9TE+QoxRcRauxWq1AMkWZzt/DarWy20BjjDU2w06nrMlINpbh2mDJmc 0pIhA2h/3foRZAk8FVQi7OrRPK9o0JAvNY7LShO+Q3amaWDL3yRBufY1UlzVFwy8bwzx pYbbG2odNtdu+8ounc59+vUeU0tKpXeX4dXOFO0T+Dnr7w7UEFfKi7FbFOJW+ewS8nTF KDpA== X-Gm-Message-State: AOAM532IdFittWhDDpI4r9mZlOEyDtlgaMvWBvDF0JUFYfVjHZ2irFKq PjlMat/QvvT2zD+HazKG/U2Omw== X-Received: by 2002:a6b:f411:0:b0:657:b73f:8e97 with SMTP id i17-20020a6bf411000000b00657b73f8e97mr589301iog.68.1652377963714; Thu, 12 May 2022 10:52:43 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id c8-20020a92dc88000000b002cde6e352eesm21289iln.56.2022.05.12.10.52.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 May 2022 10:52:43 -0700 (PDT) Subject: Re: [RFC V2 PATCH 8/8] selftests: kvm: priv_memfd: Add test avoiding double allocation To: Vishal Annapurve , x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: pbonzini@redhat.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, shauh@kernel.org, yang.zhong@intel.com, drjones@redhat.com, ricarkol@google.com, aaronlewis@google.com, wei.w.wang@intel.com, kirill.shutemov@linux.intel.com, corbet@lwn.net, hughd@google.com, jlayton@kernel.org, bfields@fieldses.org, akpm@linux-foundation.org, chao.p.peng@linux.intel.com, yu.c.zhang@linux.intel.com, jun.nakajima@intel.com, dave.hansen@intel.com, michael.roth@amd.com, qperret@google.com, steven.price@arm.com, ak@linux.intel.com, david@redhat.com, luto@kernel.org, vbabka@suse.cz, marcorr@google.com, erdemaktas@google.com, pgonda@google.com, nikunj@amd.com, seanjc@google.com, diviness@google.com, Shuah Khan References: <20220511000811.384766-1-vannapurve@google.com> <20220511000811.384766-9-vannapurve@google.com> From: Shuah Khan Message-ID: <7edd8342-08b9-cb1e-ee2d-9585546cf0c7@linuxfoundation.org> Date: Thu, 12 May 2022 11:52:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220511000811.384766-9-vannapurve@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/10/22 6:08 PM, Vishal Annapurve wrote: > Add a memory conversion test without leading to double allocation > of memory backing gpa ranges. > Rather cryptic. Please add more details on why this test is needed and what it does. > Signed-off-by: Vishal Annapurve > --- Please see comments about coding style related comments on other patches in this series. thanks, -- Shuah