Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755538AbbESJSG (ORCPT ); Tue, 19 May 2015 05:18:06 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:34853 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754734AbbESJR7 (ORCPT ); Tue, 19 May 2015 05:17:59 -0400 Date: Tue, 19 May 2015 10:17:55 +0100 From: Matt Fleming To: Thomas Gleixner Cc: LKML , Peter Zijlstra , Vikas Shivappa , x86@kernel.org, Matt Fleming , Will Auld , Kanaka Juvva Subject: Re: [patch 4/6] x86, perf, cqm: Avoid pointless msr write Message-ID: <20150519091755.GC17401@codeblueprint.co.uk> References: <20150518234114.574556332@linutronix.de> <20150518235150.080844281@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150518235150.080844281@linutronix.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 682 Lines: 20 On Tue, 19 May, at 12:00:55AM, Thomas Gleixner wrote: > If the usage counter is non-zero there is no point to update the rmid > in the PQR MSR. > > Signed-off-by: Thomas Gleixner > --- > arch/x86/kernel/cpu/perf_event_intel_cqm.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) Good catch. Acked-by: Matt Fleming -- Matt Fleming, Intel Open Source Technology Center -- 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/