From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751659AbcBKR0f (ORCPT ); Thu, 11 Feb 2016 12:26:35 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:54744 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751549AbcBKR0e (ORCPT ); Thu, 11 Feb 2016 12:26:34 -0500 Date: Thu, 11 Feb 2016 18:26:31 +0100 From: Peter Zijlstra To: Tong Zhang Cc: Ingo Molnar , Arnaldo Carvalho de Melo , LKML Subject: Re: [PATCH 1/1] Perf: fix overwritten of free running PEBSv3 timestamp Message-ID: <20160211172631.GO6357@twins.programming.kicks-ass.net> References: <1455143882-3899-1-git-send-email-ztong@vt.edu> <1455143882-3899-2-git-send-email-ztong@vt.edu> <20160211145702.GK6357@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 11, 2016 at 11:39:18AM -0500, Tong Zhang wrote: > How about moving `time' to the `group', Will this help? Somewhat, but the patch is still really horrid. It makes t==0 a special case and seems to scatter this all over the place. It also consumes the last word in that cacheline :/ There's a few other options, but so far I'm not really liking any of them very much either :/