Received: by 10.223.176.46 with SMTP id f43csp4254111wra; Tue, 23 Jan 2018 06:44:38 -0800 (PST) X-Google-Smtp-Source: AH8x226S+FyYCoWWMDikzQm5IzJ14fH0n5AVhLWpYmxixjfsECn5JpFluwsaXobsCsRrlqF2U9qP X-Received: by 2002:a17:902:2f84:: with SMTP id t4-v6mr3038830plb.81.1516718678593; Tue, 23 Jan 2018 06:44:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516718678; cv=none; d=google.com; s=arc-20160816; b=ky/TQHAvqHDw1VwtSJYrab6ae6JteDsU5Bg2W2n8dUr++dBF34ksJgPYPcW+xSbBZy aQt5H7pifi+yY5z8B+ShMnYhU+9Kq6VtiWHlHlpQIUX4uS0uKUZk1LlWTkRlV1/pPkVN bP8aedz6sd18y8OVpEdm9g9MVASurnAITYg6Q2cPlfSLxYHplXgMWJQxGGNgJoHImaPV 3ZAPfaO1t8RomLO8+Q1cwVBG/8X1wODylfnKmhzOCXIjjB5ae8RBOlnGpXngF8B5PYr3 t/gCb32bCZqogh/JgBYPp/M9kwtTA8wbcQk4AVX1xGJgUvVFoBoqYxtGFi7GHU8bhA8g JjXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=BaQ4YMQijeeGMHlpXWq0m/olIH6slPO9tKqeB+Nme7s=; b=e/5UUkeC/5gWYdHpagAr7j8liBp4vdaE+C0uB8H47S7lZQ+/lDBlp5s4dYKEHTD1YP BYvbr0RWLr4cx9Qnmv+58Gfl+qcfW66ST2sukDG1cOJLDPlygGZJgv4sE6lbC9LzXW3v 6e8R9XhCgoJUcD1yVzSk4njYVdnLDdlqKNYz+PN/xxryINSKaobJYIu/pmKH+cQuQeZc apLnrutk3oGEWN+T/eTJg6PKHLWwaIh0I/g75XWKBzGtVLyv3ldffXYEkhHP8MqWitTA W+9NVJKNAFmul9UJxRm+x4p/gZMjBvCPMyeezdO9vrvCoaOTI/qZq1yHtlGkt2V7Ne8e OY/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si14828473pgs.511.2018.01.23.06.44.23; Tue, 23 Jan 2018 06:44:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752083AbeAWOnY (ORCPT + 99 others); Tue, 23 Jan 2018 09:43:24 -0500 Received: from www.llwyncelyn.cymru ([82.70.14.225]:56712 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751814AbeAWOnU (ORCPT ); Tue, 23 Jan 2018 09:43:20 -0500 Received: from alans-desktop (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.15.2/8.15.2) with ESMTP id w0NEcVAM012124; Tue, 23 Jan 2018 14:38:31 GMT Date: Tue, 23 Jan 2018 14:38:31 +0000 From: Alan Cox To: "H. Peter Anvin" Cc: Linus Torvalds , Nadav Amit , Joerg Roedel , Thomas Gleixner , Ingo Molnar , the arch/x86 maintainers , LKML , "open list:MEMORY MANAGEMENT" , Andy Lutomirski , Dave Hansen , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Andrea Arcangeli , Waiman Long , Joerg Roedel Subject: Re: [RFC PATCH 00/16] PTI support for x86-32 Message-ID: <20180123143831.2d769f9d@alans-desktop> In-Reply-To: References: <1516120619-1159-1-git-send-email-joro@8bytes.org> <5D89F55C-902A-4464-A64E-7157FF55FAD0@gmail.com> <886C924D-668F-4007-98CA-555DB6279E4F@gmail.com> <9CF1DD34-7C66-4F11-856D-B5E896988E16@gmail.com> <143DE376-A8A4-4A91-B4FF-E258D578242D@zytor.com> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > of timing requirements vs complexity. At least theoretically one could > imagine a machine which would take the trap after the speculative > machine had already chased the pointer loop several levels down; this > would most likely mean separate uops to allow for the existing > out-of-order machine to do the bookkeeping. It's not quite the same but in the IA-64 case you can write itanium code that does exactly that. The speculation is expressed in software not hardware (because you can trigger a load, then check later if it worked out and respond appripriately). Alan