Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755321AbbDTOiM (ORCPT ); Mon, 20 Apr 2015 10:38:12 -0400 Received: from mail-qg0-f53.google.com ([209.85.192.53]:36254 "EHLO mail-qg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753461AbbDTOiJ (ORCPT ); Mon, 20 Apr 2015 10:38:09 -0400 From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Mon, 20 Apr 2015 10:42:56 -0400 (EDT) To: Andy Lutomirski cc: "Michael Kerrisk (man-pages)" , linux-man@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , Stephane Eranian , Andy Lutomirski , Kees Cook , Andrea Arcangeli , "hillf.zj" , Valdis Kletnieks , Linus Torvalds Subject: Re: [patch 10/10] perf_event_open.2: 4.0 update rdpmc documentation Message-ID: User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1273 Lines: 27 On Fri, 17 Apr 2015, Andy Lutomirski wrote: > On 04/16/2015 11:20 AM, Vince Weaver wrote: > > Probably a better change would have been to add "2" to mean per-process > > and make that the default setting. Probably too late to fix that now. > > Good point. I wish you'd thought of that sooner :( Well it's been a busy semester and so I've had less time than normal to play perf_event ABI police. I also was surprised this particular patch managed to get into 4.0 so quickly; I thought it was going to be a 4.1 change when I added it to my "changesets to look at more closely" list. In any case most people won't notice this change. It will be a minor inconvenience for HPC people doing complicated homebrew self monitoring (especially if RHEL backports the patch and then suddenly things break and a simple "well are you running 4.0 or newer" is meaningless). Using the value in /sys/devices/cpu/rdpmc to help debug the problem wouldn't have worked anyway because it looks like non-root can't do that. Vince -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/