From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f198.google.com (mail-io0-f198.google.com [209.85.223.198]) by kanga.kvack.org (Postfix) with ESMTP id D3BA16B0003 for ; Mon, 23 Apr 2018 12:45:40 -0400 (EDT) Received: by mail-io0-f198.google.com with SMTP id s11-v6so14658176ioa.8 for ; Mon, 23 Apr 2018 09:45:40 -0700 (PDT) Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id o185-v6sor4183166ita.138.2018.04.23.09.45.39 for (Google Transport Security); Mon, 23 Apr 2018 09:45:39 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1524498460-25530-1-git-send-email-joro@8bytes.org> References: <1524498460-25530-1-git-send-email-joro@8bytes.org> From: Linus Torvalds Date: Mon, 23 Apr 2018 09:45:38 -0700 Message-ID: Subject: Re: [PATCH 00/37 v6] PTI support for x86-32 Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Joerg Roedel Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , the arch/x86 maintainers , Linux Kernel Mailing List , linux-mm , 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 , Pavel Machek , "David H . Gutteridge" , Joerg Roedel On Mon, Apr 23, 2018 at 8:47 AM, Joerg Roedel wrote: > > here is the new version of my PTI patches for x86-32 which > implement last weeks review comments. Just one question: have you checked the page table setup for the basics wrt the USER bit in particular? No global pages should be marked PAGE_USER, with the possible exception of that nasty old vsyscall page. And it would be nice to verify that the page tables for kernel mappings also don't have PAGE_USER on them, although again that vsyscall page can cause problems. Linus