Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5199161imm; Tue, 18 Sep 2018 06:01:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYBtG1K0oR46jUvgRnhJYRJHihtLtHkQayiXRHeeq59H5wGDKddy/9T2/S9HJK97xMq+OJ9 X-Received: by 2002:a17:902:b60b:: with SMTP id b11-v6mr28560363pls.301.1537275672741; Tue, 18 Sep 2018 06:01:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537275672; cv=none; d=google.com; s=arc-20160816; b=VVd5EgKi45vvAGo2LPYTkQ51dV+Sr/90ndGGi4XgLDF6GSLgU8VBT4Cxz1vcEq7ROp dXO7vHTMLD0vyiBE4WnCSWBLxciLDxyo7Zec7U5DFEN7OgSD4FrSzCmdKfxKYewOnIHE Csk51jr9z5LY5jaJPL0UsT10l/XU0K/E25BxHdFAIqNaU5fEWSfY27eoStbxoKRpBq9c TSjPFBOzwhZ3xb9CwhtWs7io+RSQ0CD4XzZnyZ6HvdHxP2n5kjc13fMXIrN3wZemU3lr y9kqwZaiFt87HIIP9jNLb29f2J4HUNGlxTeqveT/PnNxfcGimXuswhcwAbq/HzU3R0KX 04iw== 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; bh=Yq21Tx3zXHHBRo31iPyyN19/RzOyy7UALSdYtDsNe+g=; b=uyDrHOTbOz/FibitqQxmhMsKi18FHDDyNtx6Jm7YeCsQXrAQDJ7tDFWkX7xmrxxC53 4wK5P3H4MYGUn4Es4QcpwwSx9ZjdqcIwFms8hVWeEPxOWZl4B+4mTJK8jra/PWsTdEeN acDIzOOiMwJ7TAZr07HLSAnmTBxu2ecSoy2Z2x65CseA6zCJ4GgJix24q9uoQmENlS5B g6KwbpKBRZQZOD6UqtkevRWh8bZN0rxnj0Qm8AZk1CGp2+gBek4OUOBGZRp+xvKJnav6 dL5Fn+8pw3OQbhq6AXUnwv5nb1ZoIeX6ZYhPRytLdPEOx71JHSV8cNTfsV2blkirjvfQ VPoA== 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 h14-v6si18390677pgg.540.2018.09.18.06.00.52; Tue, 18 Sep 2018 06:01:12 -0700 (PDT) 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 S1729416AbeIRSdN (ORCPT + 99 others); Tue, 18 Sep 2018 14:33:13 -0400 Received: from www.llwyncelyn.cymru ([82.70.14.225]:59936 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbeIRSdN (ORCPT ); Tue, 18 Sep 2018 14:33:13 -0400 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 w8ID0UE2020826; Tue, 18 Sep 2018 14:00:30 +0100 Date: Tue, 18 Sep 2018 14:00:30 +0100 From: Alan Cox To: Joerg Roedel Cc: Meelis Roos , Thomas Gleixner , Linux Kernel list , linux-mm@kvack.org, Andrea Arcangeli , Linus Torvalds Subject: Re: 32-bit PTI with THP = userspace corruption Message-ID: <20180918140030.248afa21@alans-desktop> In-Reply-To: <20180911121128.ikwptix6e4slvpt2@suse.de> References: <20180830205527.dmemjwxfbwvkdzk2@suse.de> <20180831070722.wnulbbmillxkw7ke@suse.de> <20180911114927.gikd3uf3otxn2ekq@suse.de> <20180911121128.ikwptix6e4slvpt2@suse.de> Organization: Intel Corporation X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; 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 On Tue, 11 Sep 2018 14:12:22 +0200 Joerg Roedel wrote: > On Tue, Sep 11, 2018 at 02:58:10PM +0300, Meelis Roos wrote: > > The machines where I have PAE off are the ones that have less memory. > > PAE is off just for performance reasons, not lack of PAE. PAE should be > > present on all of my affected machines anyway and current distributions > > seem to mostly assume 686 and PAE anyway for 32-bit systems. > > Right, most distributions don't even provide a non-PAE kernel for their > users anymore. > > How big is the performance impact of using PAE over legacy paging? On what system. In the days of the original 36bit PAE Xeons it was around 10% when we measured it at Red Hat, but that was long ago and as you go newer it really ought to be vanishingly small. There are pretty much no machines that don't support PAE and are still even vaguely able to boot a modern Linux kernel. The oddity is the Pentium-M but most distros shipped a hack to use PAE on the Pentium M anyway as it seems to work fine. Alan