From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Subject: Re: [RFC patch 04/15] get_cycles() : powerpc64 HAVE_GET_CYCLES (update) Date: Fri, 17 Oct 2008 11:54:58 +1100 Message-ID: <18679.57954.270256.597333@cargo.ozlabs.ibm.com> References: <20081016232729.699004293@polymtl.ca> <20081016234656.055839676@polymtl.ca> <18679.56239.74999.534588@cargo.ozlabs.ibm.com> <20081017004328.GA29768@Krystal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from ozlabs.org ([203.10.76.45]:50663 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750986AbYJQBNa (ORCPT ); Thu, 16 Oct 2008 21:13:30 -0400 In-Reply-To: <20081017004328.GA29768@Krystal> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Mathieu Desnoyers Cc: Linus Torvalds , Andrew Morton , Ingo Molnar , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Steven Rostedt , Peter Zijlstra , Thomas Gleixner , David Miller , benh@kernel.crashing.org, Ingo Molnar Mathieu Desnoyers writes: > Do you know if mtfb implies an instruction synchronization (isync) ? I It doesn't. > think that if it does not, the new get_cycles_barrier() might have to be > used at some locations in the kernel code if more precise timestamp > order is required. OK. I'll let you figure out where. :) Paul.