From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752278AbaFEPTq (ORCPT ); Thu, 5 Jun 2014 11:19:46 -0400 Received: from mail.skyhub.de ([78.46.96.112]:39113 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750866AbaFEPTp (ORCPT ); Thu, 5 Jun 2014 11:19:45 -0400 Date: Thu, 5 Jun 2014 17:17:34 +0200 From: Borislav Petkov To: Maria Dimakopoulou Cc: Stephane Eranian , Matt Fleming , LKML , Peter Zijlstra , "mingo@elte.hu" , "ak@linux.intel.com" , Jiri Olsa , "Yan, Zheng" Subject: Re: [PATCH 9/9] perf/x86: add syfs entry to disable HT bug workaround Message-ID: <20140605151734.GD16811@pd.tnic> References: <20140605132750.GA16811@pd.tnic> <20140605140316.GB16811@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 05, 2014 at 05:45:24PM +0300, Maria Dimakopoulou wrote: > The issue is that the outcoming leaked counts are not compensated > by the incoming leaked counts of the sibling thread. With the workaround, > corrupting events are always scheduled with an empty sibling counter. > This means that their leaked counts are lost. So it is expected to see > lower counts with the workaround. Note that this is not a side-effect of > the workaround; leaked counts are expected to be lost with nothing > measured on the sibling counter in general. > > In a second series we intend to re-integrate the counts for counting mode > events. The workaround makes this easier because it guarantees > that the sibling counter is unused, thus its counts are purely leaked > counts and they can be safely re-integrated. IIUC, sounds to me like reintegrating the leaked counts from the unused counter should be part of the workaround too, not a second series... -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --