Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3129659ybb; Sun, 22 Mar 2020 16:19:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvddUqt/XVoU6RWUbJi+lF0/EykXd9rvnUri+kQ6N9vUVbc9l4ZFYDE7j4bu0CfAlBpnjDT X-Received: by 2002:a9d:2963:: with SMTP id d90mr14895919otb.149.1584919182865; Sun, 22 Mar 2020 16:19:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584919182; cv=none; d=google.com; s=arc-20160816; b=cA6wYYSC93bOCyuW7AdIK3CZJaj/udxycuPAiTckA7qWs4N4aHSnDSR+8EqDanpJXv 26nAK9oxkpcDEiWC6EKFnGDdGNwJZLWXp4xqEZJSOsjSFDhr7t8rlUf27SxnqS/WN2D9 10Y5ZiLNUb9DRn57m7IzZ06xNFeaT4Amzo5+LqfvToxDd/zXOSgqYGjWEDL98ZYMggw1 dVmcruw1d7AbRypsuV3BOoOxDvv3CGS9/CATv3XyfTW/235i0G5CGOL33VbixVjXO1n9 wcs3Q2+MyJEHuPrfuFrtZboe0Posc7WW8wfPACykjuww+PfqS05WunhSOzYMnBbtFcy5 LSkw== 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 :ironport-sdr:ironport-sdr; bh=GUIsMouku8prAB/N/bP7tMeMJD/J+D8XVWbcJ8Ry/vI=; b=U8PO5tj06Sx/epy2LNEGsas3LNIOHXv9/Ealz/n2KrViswyjSSvIFZ2XcR6RjU5bRD jLPXRWYZuVCGjJuwoMP4MfGyP7e+mjw3HrsJBsyunoQvTZG+69WopUnv1Z+op98z1CGM CtZgihyE+eFwuSBUUSmGPQl5ANDNcejG9SPy36Le3sWFq5k/Ub6EnYh1ORBzJMaF+Cor oxy5P3CPxguGEDhOsj52ZKrI55JDtCmC2+rsuue38yNiYtcdvo54UQePD2tU1gg7zuPG bpPmk4JegzvRwkHIFt3IeRQMHl6ccupB33NpFC3M36t9P8oJ2XjYplctNGSypSn1LlvU ZRUA== 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 m18si6636524otf.196.2020.03.22.16.19.30; Sun, 22 Mar 2020 16:19:42 -0700 (PDT) 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 S1726953AbgCVXSW (ORCPT + 99 others); Sun, 22 Mar 2020 19:18:22 -0400 Received: from mga03.intel.com ([134.134.136.65]:35541 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726814AbgCVXSW (ORCPT ); Sun, 22 Mar 2020 19:18:22 -0400 IronPort-SDR: TQmMScp9Lc6nPGSoJh6N9ub3Q3PuDAKbvk2VSA9yjNxC2pWT1ckNUCQR+4FFY39HI+VuKPOSTe AVLVk9Mtf3rw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2020 16:18:21 -0700 IronPort-SDR: rTUNOvwITZGPd+WKcrPOiG/4qSYfi49vqmF1tMqSlVcd6PiUnkHrD1obms4uZeXb6/i8ctSt9f WeOfho2Kw0lA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,294,1580803200"; d="scan'208";a="447223183" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by fmsmga006.fm.intel.com with ESMTP; 22 Mar 2020 16:18:20 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id CA321301779; Sun, 22 Mar 2020 16:18:20 -0700 (PDT) Date: Sun, 22 Mar 2020 16:18:20 -0700 From: Andi Kleen To: Peter Zijlstra Cc: Ian Rogers , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Kan Liang , linux-kernel@vger.kernel.org, Stephane Eranian Subject: Re: [PATCH v2] perf test x86: address multiplexing in rdpmc test Message-ID: <20200322231820.GB267978@tassilo.jf.intel.com> References: <20200321173710.127770-1-irogers@google.com> <20200322101848.GF2452@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200322101848.GF2452@worktop.programming.kicks-ass.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Here's something a little better. Much of it copied from linux/math64.h > and asm/div64.h. Not sure what the point is of micro optimizing a unit test? This is never run in production. -Andi