From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751589AbbFNLyV (ORCPT ); Sun, 14 Jun 2015 07:54:21 -0400 Received: from cantor2.suse.de ([195.135.220.15]:54321 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750968AbbFNLyO (ORCPT ); Sun, 14 Jun 2015 07:54:14 -0400 Date: Sun, 14 Jun 2015 13:54:08 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: Andy Lutomirski , X86 ML , Peter Zijlstra , John Stultz , "linux-kernel@vger.kernel.org" , Len Brown , Huang Rui , Denys Vlasenko Subject: Re: [PATCH v2 13/17] x86/tsc: Rename native_read_tsc() to rdtsc_unordered() Message-ID: <20150614115407.GA14896@pd.tnic> References: <20150613085758.GB3796@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 Sat, Jun 13, 2015 at 11:25:49AM -0700, Andy Lutomirski wrote: > I could go either way here. rdtsc() is weird because people seem to > forget about the barrier. Yeah, our job is only to give them enough rope... > Maybe I'm being unnecessarily paranoid. You can always slap a comment above the rdtsc() definition saying that people should use the _ordered() version if they wanna order. :) -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --