Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965215AbeALTow (ORCPT + 1 other); Fri, 12 Jan 2018 14:44:52 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:46241 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965085AbeALTou (ORCPT ); Fri, 12 Jan 2018 14:44:50 -0500 X-Google-Smtp-Source: ACJfBovzF1Kgr5hIvFM4jhR6B2AZ3o23kE/4XWEdAATKb1DTHSOag1/WdORc4yW1DKKPEVxYz6g12XL1B1J2AThMcOg= MIME-Version: 1.0 In-Reply-To: <20180112193815.GA4918@amd> References: <20180110233252.GA14739@amd> <20180112110624.GA13254@amd> <20180112193815.GA4918@amd> From: Linus Torvalds Date: Fri, 12 Jan 2018 11:44:48 -0800 X-Google-Sender-Auth: -YZaxKF8ny6cCUoyEOPFzTE0xOQ Message-ID: Subject: Re: Linux 4.15-rc7 To: Pavel Machek Cc: Arnd Bergmann , Olivier Galibert , Linux Kernel Mailing List , jikos@suse.cz 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 Fri, Jan 12, 2018 at 11:38 AM, Pavel Machek wrote: > > I'll try to do the right thing. OTOH... I don't like the fact that > kernel memory on my machine is currently readable, probably even from > javascript. Oh, absolutely. I'm just saying that it's probably best to try to start from the x86-64 KPTI model, and see how that works for x86-32. Maybe some of the 4G:4G entry code could come in handy as a "these are the issues" kind of thing. > I tried disabling CPU caches. Just like that, off, boom. My system > will not survive that, and it looks like 100x slowdown. Yeah, no. That is not a realistic thing to do on any hardware since the PPro, I'm afraid. Linus