Received: by 10.223.185.111 with SMTP id b44csp644813wrg; Fri, 9 Mar 2018 10:55:15 -0800 (PST) X-Google-Smtp-Source: AG47ELue7GHAaM0w5ElmnRSgA5szG233k+8+5KpJGe+ADF3/FeT2VosZgXlBr0F57PtUYCzjzyOB X-Received: by 2002:a17:902:7889:: with SMTP id q9-v6mr29310721pll.218.1520621715279; Fri, 09 Mar 2018 10:55:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520621715; cv=none; d=google.com; s=arc-20160816; b=RyNbQ0E6gj4IO30WPBvwKi6q+3M6+xoDMeof3iTZJ/FlNdMPEYJdFUfV2Vqp5zyu3F hYhA59vV7tU9PqjHbCWPH8fLKEkOi3pA4m5SmOCksaXHMj9WBqtqJYtWw5WwXadHW6QY /pne0ST8f+qTRDoeQE1Y3/XeAq+p66qOUcUwYqnUyHl3mlVQGaa4cFBCxKgsX2OecJZ5 eC67fPvQdq+n51Ye2N3ozsp1o9T7bLSJhXXn/kEQcoKsXRNqOt+j8kyeZ3Ug6CsvONvw knYdP0MryH7vqpRq4LzbRpsSxGfCo1SzjyK3lRvSVrIKgJuq70lUwXpyrK2u1/p7SVtB h+6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=YzzqE4JCUW5tvhJDRkWmQu2TvnA44ypPRaeQq4eaDgM=; b=mkEl62AYNb3bVx6jdZVwBna4XxDncUexPKkNW3LoWi5KWHUSavluVai0s9ifUQTlfx DG7NbSGv48jBf70XahqrnDgrvGWAC8t/2J7pm3m4PJ3ZwpltGLayocYoNbpNgiiRP7j8 t4gFIl6UGpWTQMubwbyQfNcWjG56/8MpEL3+9uSY4NJLf0W433Fx8NStAOHWeWS9JSlW fSigDBlUF9atrc89F+IbdPsYhHsSk9q8CMa025vGM9SeXlsAw7dL5SkDHE4FfBAT9djh kDJGNYS2G2e6qFa9yu2B+L+L3kSJQIBlk/Eq1q/ehd5atpjMkkaxxN3S32axaaAP5NBb lohA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1-v6si308965plb.297.2018.03.09.10.55.00; Fri, 09 Mar 2018 10:55:15 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932531AbeCISyD (ORCPT + 99 others); Fri, 9 Mar 2018 13:54:03 -0500 Received: from mga01.intel.com ([192.55.52.88]:41700 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932072AbeCISyA (ORCPT ); Fri, 9 Mar 2018 13:54:00 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2018 10:53:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,446,1515484800"; d="scan'208";a="24336891" Received: from linux.intel.com ([10.54.29.200]) by orsmga006.jf.intel.com with ESMTP; 09 Mar 2018 10:53:57 -0800 Received: from [10.254.80.150] (kliang2-mobl1.ccr.corp.intel.com [10.254.80.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id 842FF5802A6; Fri, 9 Mar 2018 10:53:56 -0800 (PST) Subject: Re: [tip:perf/core] perf/x86/intel: Disable userspace RDPMC usage for large PEBS To: Peter Zijlstra , Vince Weaver Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, torvalds@linux-foundation.org, eranian@google.com, acme@redhat.com, hpa@zytor.com, alexander.shishkin@linux.intel.com, mingo@kernel.org, jolsa@redhat.com, linux-tip-commits@vger.kernel.org References: <1518474035-21006-6-git-send-email-kan.liang@linux.intel.com> <20180309174218.GB4064@hirez.programming.kicks-ass.net> From: "Liang, Kan" Message-ID: Date: Fri, 9 Mar 2018 13:53:55 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180309174218.GB4064@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/9/2018 12:42 PM, Peter Zijlstra wrote: > On Fri, Mar 09, 2018 at 09:31:11AM -0500, Vince Weaver wrote: >> On Fri, 9 Mar 2018, tip-bot for Kan Liang wrote: >> >>> Commit-ID: 1af22eba248efe2de25658041a80a3d40fb3e92e >>> Gitweb: https://git.kernel.org/tip/1af22eba248efe2de25658041a80a3d40fb3e92e >>> Author: Kan Liang >>> AuthorDate: Mon, 12 Feb 2018 14:20:35 -0800 >>> Committer: Ingo Molnar >>> CommitDate: Fri, 9 Mar 2018 08:22:23 +0100 >>> >>> perf/x86/intel: Disable userspace RDPMC usage for large PEBS >>> >> >> >> So this whole commit log is about disabling RDPMC usage for "large PEBS" >> but the actual change disables RDPMC if "PERF_X86_EVENT_FREERUNNING" >> >> Either the commit log is really misleading, or else a poor name was chosen >> for this feature. > > Its the same thing, and yes that might want renaming I suppose. > Yes, I will send a patch to rename the "FREERUNNING" to "LARGE_PEBS", and fix the confusion. Thanks, Kan