From nobody Mon Feb 9 16:35:03 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1638978996; cv=none; d=zohomail.com; s=zohoarc; b=hhrge0gFmK3XoYnv/m3YNTQrAvxc5brNL9HkX0ZcvCRaKqHX8YFHZYz9uhpUgiENTavTpBy5UQg54pw7eaJ4R5hnl2NvU3M4kzRx/TT5+mFxn96bmUoOai0iCNEA+Xn9AC7/l23+m43sLQWVrwX+0vdd1IZYwIetw28DP2ybDBk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638978996; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=0EFSnHVw6cnDzHQVQhnjfL6RwtaM6YAZunMTPJmxhog=; b=gBBmSKZBBuLmMtMXXG57CbYnQx1JZVcnULmOz4vn8dO44BQss25/psJTXsB5LJIM9pd+7Z2BDhpYTxQ3ArBJetsiYr7tB3lexOGE0cTK7k03m3G1hJKdWo2fZL6/FBlFpEwIgg16t/9JzmBU+xl6AaewRvymRgUtqnZJf36BqMw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1638978996979632.1040408822098; Wed, 8 Dec 2021 07:56:36 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.242365.419280 (Exim 4.92) (envelope-from ) id 1muzIs-0003hu-JJ; Wed, 08 Dec 2021 15:56:22 +0000 Received: by outflank-mailman (output) from mailman id 242365.419280; Wed, 08 Dec 2021 15:56:22 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1muzIr-0003cp-TF; Wed, 08 Dec 2021 15:56:21 +0000 Received: by outflank-mailman (input) for mailman id 242365; Wed, 08 Dec 2021 15:56:16 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1muzIm-0001Lz-Gx for xen-devel@lists.xenproject.org; Wed, 08 Dec 2021 15:56:16 +0000 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 5e67c314-583f-11ec-9d12-4777fae47e2b; Wed, 08 Dec 2021 16:56:13 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 1E4241FE0C; Wed, 8 Dec 2021 15:56:13 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id D8D4C13C8E; Wed, 8 Dec 2021 15:56:12 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id yLyrM5zVsGHIXwAAMHmgww (envelope-from ); Wed, 08 Dec 2021 15:56:12 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 5e67c314-583f-11ec-9d12-4777fae47e2b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1638978973; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0EFSnHVw6cnDzHQVQhnjfL6RwtaM6YAZunMTPJmxhog=; b=s0EWc156YyrnRi9jWgnsTFzBP5o3+MdaGEu9kmrwqCwH/hnjXqvY0QRWhxDNM5+QM7+GRo sypHZRtfN0oTrd4ozI89r3gwDc++ja1iUJpCisduLUj2ggN3Qyp47QxAoek42Co5DE1C9z peAvux6CsxhqlY4vz0H38Aif5P46Rx8= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH v3 12/13] xen: drop calls_to_multicall performance counter Date: Wed, 8 Dec 2021 16:56:05 +0100 Message-Id: <20211208155606.20029-13-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211208155606.20029-1-jgross@suse.com> References: <20211208155606.20029-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1638978998594100015 Content-Type: text/plain; charset="utf-8" The calls_to_multicall performance counter is basically redundant to the multicall hypercall counter. The only difference is the counting of continuation calls, which isn't really that interesting. Drop the calls_to_multicall performance counter. Suggested-by: Jan Beulich Signed-off-by: Juergen Gross Reviewed-by: Jan Beulich --- V2: - new patch --- xen/common/multicall.c | 1 - xen/include/xen/perfc_defn.h | 1 - 2 files changed, 2 deletions(-) diff --git a/xen/common/multicall.c b/xen/common/multicall.c index 7b20717c88..2e66f9f0c1 100644 --- a/xen/common/multicall.c +++ b/xen/common/multicall.c @@ -114,7 +114,6 @@ do_multicall( if ( unlikely(disp =3D=3D mc_preempt) && i < nr_calls ) goto preempted; =20 - perfc_incr(calls_to_multicall); perfc_add(calls_from_multicall, i); mcs->flags =3D 0; return rc; diff --git a/xen/include/xen/perfc_defn.h b/xen/include/xen/perfc_defn.h index 08b182ccd9..eb6152859e 100644 --- a/xen/include/xen/perfc_defn.h +++ b/xen/include/xen/perfc_defn.h @@ -6,7 +6,6 @@ =20 PERFCOUNTER_ARRAY(hypercalls, "hypercalls", NR_hypercalls) =20 -PERFCOUNTER(calls_to_multicall, "calls to multicall") PERFCOUNTER(calls_from_multicall, "calls from multicall") =20 PERFCOUNTER(irqs, "#interrupts") --=20 2.26.2