From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f197.google.com (mail-io0-f197.google.com [209.85.223.197]) by kanga.kvack.org (Postfix) with ESMTP id 3F86F280247 for ; Mon, 22 Jan 2018 15:14:06 -0500 (EST) Received: by mail-io0-f197.google.com with SMTP id q18so7544866ioh.4 for ; Mon, 22 Jan 2018 12:14:06 -0800 (PST) Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id n25sor9047939iob.176.2018.01.22.12.14.04 for (Google Transport Security); Mon, 22 Jan 2018 12:14:05 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <143DE376-A8A4-4A91-B4FF-E258D578242D@zytor.com> 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> From: Linus Torvalds Date: Mon, 22 Jan 2018 12:14:03 -0800 Message-ID: Subject: Re: [RFC PATCH 00/16] PTI support for x86-32 Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Peter Anvin Cc: 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 On Sun, Jan 21, 2018 at 6:20 PM, wrote: > > No idea about Intel, but at least on Transmeta CPUs the limit check was asynchronous with the access. Yes, but TMTA had a really odd uarch and didn't check segment limits natively. When you do it in hardware. the limit check is actually fairly natural to do early rather than late (since it acts on the linear address _before_ base add and TLB lookup). So it's not like it can't be done late, but there are reasons why a traditional microarchitecture might always end up doing the limit check early and so segmentation might be a good defense against meltdown on 32-bit Intel. Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org