Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754646AbbEKP6V (ORCPT ); Mon, 11 May 2015 11:58:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54632 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753982AbbEKP6T (ORCPT ); Mon, 11 May 2015 11:58:19 -0400 Date: Mon, 11 May 2015 12:58:14 -0300 From: "acme@redhat.com" To: Ingo Molnar Cc: Will Deacon , David Ahern , "linux-kernel@vger.kernel.org" , Mark Rutland , "jolsa@kernel.org" , "namhyung@kernel.org" Subject: Re: arm/arm64 perf build issue with mainline Message-ID: <20150511155814.GA2724@redhat.com> References: <20150423112916.GF1652@arm.com> <553901BC.3040001@oracle.com> <20150511082120.GA13145@gmail.com> <20150511123117.GD4795@arm.com> <20150511123304.GA28716@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150511123304.GA28716@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1758 Lines: 47 Em Mon, May 11, 2015 at 02:33:04PM +0200, Ingo Molnar escreveu: > > * Will Deacon wrote: > > > On Mon, May 11, 2015 at 09:21:20AM +0100, Ingo Molnar wrote: > > > * David Ahern wrote: > > > > On 4/23/15 5:29 AM, Will Deacon wrote: > > > > >Commit 6428c59a97de ("perf tools: Set JOBS based on CPU or processor") > > > > >causes weird behaviour on arm/arm64 platforms because we use the "CPU" > > > > >prefix for things like: > > > > > > > > > >CPU implementer : 0x41 > > > > >CPU architecture: 8 > > > > >CPU variant : 0x0 > > > > >CPU part : 0xd03 > > > > >CPU revision : 0 > > > > > > > > > >in /proc/cpuinfo. Consequently, a 6 core machine ends up doing: > > > > > > > > > >will@confinement-loaf:~/linux/tools/perf$ make > > > > > BUILD: Doing 'make -j36' parallel build > > > > > > > > > >which is a little overwhelming. Any chance we can predicate the extra > > > > >part of the regex on $(ARCH) being sparc? > > > > > > That regex needs to be fixed or replaced with a more robust 'number of > > > CPUs on the system' discovery method. > > > > That was already proposed here (as part of the fallback from getconf): > > > > https://lkml.kernel.org/r/20150427190356.GD474@krava.redhat.com > > > > but I'm not sure what happened to the patch. > > Sending out the latest/best version as a reminder for Arnaldo will > sure help it along. > > Acked-by: Ingo Molnar IIRC it was merged already, lemme check... - Arnaldo -- 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/