Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751262AbeADXMR (ORCPT + 1 other); Thu, 4 Jan 2018 18:12:17 -0500 Received: from www.llwyncelyn.cymru ([82.70.14.225]:47990 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbeADXMQ (ORCPT ); Thu, 4 Jan 2018 18:12:16 -0500 Date: Thu, 4 Jan 2018 23:11:37 +0000 From: Alan Cox To: Linus Torvalds Cc: Dan Williams , Pavel Machek , Julia Lawall , Linux Kernel Mailing List , Mark Rutland , linux-arch@vger.kernel.org, Peter Zijlstra , Greg KH , Thomas Gleixner , Elena Reshetova , Alan Cox , Dan Carpenter Subject: Re: [RFC PATCH] asm/generic: introduce if_nospec and nospec_barrier Message-ID: <20180104231137.0c09a674@alans-desktop> In-Reply-To: References: <20180103223827.39601-1-mark.rutland@arm.com> <151502463248.33513.5960736946233335087.stgit@dwillia2-desk3.amr.corp.intel.com> <20180104010754.22ca6a74@alans-desktop> <20180104192648.GA10427@amd> <20180104225515.13a40f0f@alans-desktop> Organization: Intel Corporation X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: > It's also possible that x86 'lfence' really is so fast that it doesn't > make sense to try to do this. If you've got a lot going on it's not 1 cycle. Alan