Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752703Ab2HMPdM (ORCPT ); Mon, 13 Aug 2012 11:33:12 -0400 Received: from merlin.infradead.org ([205.233.59.134]:51888 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751395Ab2HMPdL convert rfc822-to-8bit (ORCPT ); Mon, 13 Aug 2012 11:33:11 -0400 Message-ID: <1344871976.31459.35.camel@twins> Subject: Re: [BUG] perf: sharing of cpuctx between core and ibs PMU causes problems From: Peter Zijlstra To: Stephane Eranian Cc: "Yan, Zheng" , LKML , Robert Richter , mingo@elte.hu Date: Mon, 13 Aug 2012 17:32:56 +0200 In-Reply-To: References: <50235ED0.5010107@intel.com> <1344535707.20277.20.camel@twins> <1344853682.31459.20.camel@twins> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 747 Lines: 18 On Mon, 2012-08-13 at 14:53 +0200, Stephane Eranian wrote: > > Your proposal solves the problem, though it is not that pretty because > you're exposing > IBS stuff in sched.h aside for the 2 new iterations. But I don't see > another way around > this at this point. Yeah, I don't particularly like it either.. but I'm having a similar problem of not seeing anything better. I was going to see if I could make the two IBS PMUs share something, but that's going to be pain whichever way you turn it. -- 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/