Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751982AbeADByu (ORCPT + 1 other); Wed, 3 Jan 2018 20:54:50 -0500 Received: from mail-io0-f172.google.com ([209.85.223.172]:41993 "EHLO mail-io0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751727AbeADByt (ORCPT ); Wed, 3 Jan 2018 20:54:49 -0500 X-Google-Smtp-Source: ACJfBoslc9OujRXMDX0BUanAVAR70urhTmys1OYcvM7GTqNPztTiIi3iNkwIRdk/JJOCdX9coiYXuFetFxg/2Ng4f90= MIME-Version: 1.0 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> From: Linus Torvalds Date: Wed, 3 Jan 2018 17:54:47 -0800 X-Google-Sender-Auth: Yqz3gNoyxJk5-AFlMLYYNhJGlqo Message-ID: Subject: Re: [RFC PATCH] asm/generic: introduce if_nospec and nospec_barrier To: Dan Williams Cc: Jiri Kosina , Alan Cox , Linux Kernel Mailing List , Mark Rutland , linux-arch@vger.kernel.org, Peter Zijlstra , Greg KH , Thomas Gleixner , Elena Reshetova , Alan Cox Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, Jan 3, 2018 at 5:51 PM, Dan Williams wrote: > > Elena has done the work of auditing static analysis reports to a dozen > or so locations that need some 'nospec' handling. I'd love to see that patch, just to see how bad things look. Because I think that really is very relevant to the interface too. If we're talking "a dozen locations" that are fairly well constrained, that's very different from having thousands all over the place. Linus