Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp871601ybv; Thu, 20 Feb 2020 08:44:43 -0800 (PST) X-Google-Smtp-Source: APXvYqz5QCDBMkChav+c2TaskkBITguPTOS9guNSsmHfa+aPHGhoWOzaDxtOPsF7VjcEU2igH482 X-Received: by 2002:a9d:66d1:: with SMTP id t17mr25309363otm.233.1582217083150; Thu, 20 Feb 2020 08:44:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582217083; cv=none; d=google.com; s=arc-20160816; b=T8yJiI8AlPdkJmhB3m+fnpdvIVKVPkUAfDloSBMATxulppyZbmqyPJbxDKxvkLQx8t vrqwL0Ccw00puA6mQ/8TlHDVjfnSD2D5M8ItR20k8my+ZNNEn1P7p21sHf/NGqwUPBSV FB5NgGt2Y/4pJ2ObRxVoPBiLXEM9lMVjNR86/BFXqw4WnR0YIghzMKreCoiB6NkY1rYk 4s3CfDSbOfOpRE45s3mp3UYzli5iZcfdIPxJeBXykmp47xZEf06Q1wETYaCOdAgFFswr 0A2LJlHsMvglIWR0vZQ0MXOS+Sz1vhp9v22c72yOauFD7bl0bOQiYrF7RdkAHStSGYOd AISg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=paG4Zw4Ehqql07v3IQvHbdrFgOXvSsx0hYT1IT0HSs0=; b=WiNXOxwcREGoO7+XykAWi+B2rISF3GHmd6n9o0RNQPJK0xn9Il3GsAwmQj/9UFGeEs 7Ys20l/+5YVSqRdm41YV8coZZeAxDhiy0NrpbOfuGlumEMu94A5tDFDoc0IR5QQ/JuEZ po+crgfyzJ7QBix7MhgkNTNHPvglXjnuF/MPxSne+GWcdU0hlEigPzAVSuf3QK93aWfS CRPjD1U/iUa0Hz/Ud1VKWVlGbR3gkOvR+2rkEAQrdmkDS1GSvCvoLjs3bXihsPEZmlG5 2qPzdodJ5X0rpMR+aoUjAbebxtWAig5yKmLT55vp4qxqPvyOfjaH/ecm+iUs2zT1Qw9F O1vg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t137si11945075oif.61.2020.02.20.08.44.29; Thu, 20 Feb 2020 08:44:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728248AbgBTQnS (ORCPT + 99 others); Thu, 20 Feb 2020 11:43:18 -0500 Received: from mga07.intel.com ([134.134.136.100]:58222 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727709AbgBTQnS (ORCPT ); Thu, 20 Feb 2020 11:43:18 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2020 08:43:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,465,1574150400"; d="scan'208";a="436646426" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by fmsmga006.fm.intel.com with ESMTP; 20 Feb 2020 08:43:17 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id 512A43018BB; Thu, 20 Feb 2020 08:43:17 -0800 (PST) Date: Thu, 20 Feb 2020 08:43:17 -0800 From: Andi Kleen To: "Liang, Kan" Cc: Jiri Olsa , acme@kernel.org, mingo@redhat.com, peterz@infradead.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, namhyung@kernel.org, ravi.bangoria@linux.ibm.com, yao.jin@linux.intel.com Subject: Re: [PATCH 0/5] Support metric group constraint Message-ID: <20200220164317.GG160988@tassilo.jf.intel.com> References: <1582139320-75181-1-git-send-email-kan.liang@linux.intel.com> <20200220113924.GB565976@krava> <534b4b99-466a-0a5b-e9f5-b4711abd8a4a@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <534b4b99-466a-0a5b-e9f5-b4711abd8a4a@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > For other metric groups, even they have cycles, the issue should not be > triggered. > For example, if they have 4 or less events, the cycles can be scheduled to > GP counter instead. > If they have 6 or more events, the weak group will be reject anyway. > Perf tool will open it as non-group (standalone metrics). Technically it can also happen for 9 events with Hyper Threading off or on Icelake (8 generic counters) I didn't think we had any of those, but please double check. -Andi