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 X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56719C433ED for ; Fri, 21 May 2021 07:58:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3A700613CC for ; Fri, 21 May 2021 07:58:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229586AbhEUH7x (ORCPT ); Fri, 21 May 2021 03:59:53 -0400 Received: from mx2.suse.de ([195.135.220.15]:49766 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbhEUH7p (ORCPT ); Fri, 21 May 2021 03:59:45 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1621583902; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2MfCuK8zXiUfS4x7BpQYH57RVEmWBdaLQ5ye3Gim4ps=; b=AuvKwq/s6EAq2b2l8dwrgkqtC+32CxFIHpWu4HYjgXzuDb0+GeRXnhpg7692Uo0TfTZxOC Xx9ZxqcncbC25ytmcnqBL4LfZIxmzIMIcdfonF/Ncu3Hyq9bERRrCGwKpD8wVNpr1MQc3L ePWh/YeZ0nFcwiN2666EiXjMRHT/6Ec= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id BF605AD5C; Fri, 21 May 2021 07:58:21 +0000 (UTC) Message-ID: <4e27adf7df5de525b9a4af9afbb3ca88ec3d09a4.camel@suse.com> Subject: Re: [PATCH] Move VMEnter and VMExit tracepoints closer to the actual event From: Dario Faggioli To: Paolo Bonzini , Sean Christopherson , Stefano De Venuto Cc: linux-kernel@vger.kernel.org, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, x86@kernel.org, hpa@zytor.com, kvm@vger.kernel.org, rostedt@goodmis.org, y.karadz@gmail.com Date: Fri, 21 May 2021 09:58:17 +0200 In-Reply-To: References: <20210519182303.2790-1-stefano.devenuto99@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-SuF+Jf1Vs/AnRIDVyYCD" User-Agent: Evolution 3.40.1 (by Flathub.org) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-SuF+Jf1Vs/AnRIDVyYCD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi! On Thu, 2021-05-20 at 18:18 +0200, Paolo Bonzini wrote: > On 20/05/21 17:32, Sean Christopherson wrote: > > On VMX, I think the tracepoint can be moved below the VMWRITEs > > without much > > contention (though doing so is likely a nop), but moving it below > > kvm_load_guest_xsave_state() requires a bit more discussion. >=20 > Indeed; as a rule of thumb, the tracepoint on SVM could match the=20 > clgi/stgi region, and on VMX it could be placed in a similar > location. >=20 Ok. So, if this is uncontroversial enough, we're more than happy to go for it... For now. :-) Let us try it, and see how things end up looking. Thanks and Regards --=20 Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <> (Raistlin Majere) --=-SuF+Jf1Vs/AnRIDVyYCD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEES5ssOj3Vhr0WPnOLFkJ4iaW4c+4FAmCnaBkACgkQFkJ4iaW4 c+7TYw//Yd4x4luYqBBLERLVz7tLFs96a4KjeAjIp/ydzphAy9LtZbv1tU3ZU5T/ cxvsKeuTobr5AHX9sZEETzhKVzyBBFEbANsqMiPg8VK7i8IyS3r6mB16syVlkBmQ 9ZfV3Jmlpbv+/b4w6rfdb1XohhE62NFMyhlS4C3fahLp1bljGs0FgkL8tBeusIJd 3pORdrqFuOtqTbLZhixhLxOS//svOUKEYriBwVB1Bo74H6ktPX0lalrdbmHC5U2m KEjjp+saZWGo2vNP5OufB/DuHy5ORd3WMMVqoX8AyOZZPjXEZ95EXdSb0iWE1nIU ByxLLLv/o/xwr7Ls9wb00o5+8G7Z5y+nwWkC7Hc7wUQdara0YG2I0C55iTpAJpPQ qV/vsDHQsLP5VhEGk7KxYXM4xeBDofUtRbDyLXtC3VwON7qdvsYp8Es+t0vE7AFK 6IwvkH224FqjZcs8VSvfpiVblYspyGKK7yDMkwxsI1QCw/VeA/nTSzpmZjs3o85G wrvlrQ2VSiSLAuXBeELRoPUsu0eCQGl5S2BNXQQ5LKLdzLLDCx63vzmxWbgFEF2M g4VLOM+qNQHgUvpez0Wy8/0fE2HGzMe75qAvHheJyw58hNJMC3Ibh6qkZPHBmf0H n4sm+iTcDn3rmFeltv37zXbiolqHQMGAbdnFliezt8RTIAEqzDw= =+B3i -----END PGP SIGNATURE----- --=-SuF+Jf1Vs/AnRIDVyYCD--