Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753571AbdHKTBv (ORCPT ); Fri, 11 Aug 2017 15:01:51 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:37015 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753158AbdHKTBu (ORCPT ); Fri, 11 Aug 2017 15:01:50 -0400 From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Fri, 11 Aug 2017 15:01:43 -0400 (EDT) X-X-Sender: vince@macbook-air To: Mark Rutland cc: linux-kernel@vger.kernel.org, Will Deacon , Peter Zijlstra , Ingo Molnar Subject: Re: perf: multiple mmap of fd behavior on x86/ARM In-Reply-To: <20170811170921.GC22445@leverpostej> Message-ID: References: <20170811100127.GB12985@leverpostej> <20170811162318.GA22445@leverpostej> <20170811170921.GC22445@leverpostej> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) 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: 784 Lines: 24 On Fri, 11 Aug 2017, Mark Rutland wrote: > > This isn't some key thing that needs to be fixed, I was just curious about > > the behavior difference between x86 and ARM. > > Sure; likewise I'm curious. well I finally got a current git 64-bit kernel booted on the pi3. Challenge: USB known to be broken currently, so no keyboard or ethernet. Extra challenge: had the RX/TX lines switched on the serial connector. Bonus challenge: the bcm2837 dts file doesn't enable armv8 PMU I got through all of that, only to find: $ uname -a Linux pi3-git 4.13.0-rc4-00152-g2627393 #2 SMP PREEMPT Fri Aug 11 13:58:42 EDT 2017 aarch64 GNU/Linux $ ./mmap_multiple Trying to mmap same perf_event fd multiple times... PASSED So maybe the issue was fixed between 4.9 and current? Vince