Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1135509ima; Sun, 21 Oct 2018 05:38:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV63rDytcDubQaYn18qPrC9sOmU+FSSObr5XguSO1+wgDAGwBbuuNI+kkKpKZxg/yVpFTb1iT X-Received: by 2002:a62:120b:: with SMTP id a11-v6mr41698328pfj.165.1540125507638; Sun, 21 Oct 2018 05:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540125507; cv=none; d=google.com; s=arc-20160816; b=b254LIAYyUZRxJ8aEtsj8XTYwzuCVTVx1MFPluMN3OEUXRKojaYL/xJMOS/TCBybuY R4DxliMNOLjOHJoKM9v68Ar69Xjf+PjhL9f/3BTYAryHYy3ZTDjSM4Oiqw7WCpGh78nn fRsfGoKeeJrvt8tCDtjO9SxyNwqX/bpeKgKEa+XKHFpk1RXV0UtmccL6z/ve7+ALG8CZ s1EeDZ0uP7BU+3ACLdHpg2YUJd7eZLx1ETWF61G4oAgq/fytpeAXmitnhPMYhqfZSnDi dG8WOjSsJUOidAyrj//Z1+76INT8pd2lIjdpNMBB521Mf/myxkc/Ko5ny8R899YJzWpR V7Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=hpAQTnzyobohXjnxa/dXJtP0U6ov4bxGUD8u02vWSL0=; b=YXK/jeHMVDw5RgPlHDmvyusZ60JMs06f2s82qsEs/fXBEeXbQ+HXNSQyoTZA+WC2Kz oBMJ8zIUHcFVclut2kUVQTObk4k8RiamLywK4aXHswhWw2gYut69w68v8IBnmKcxAM1Z Moah4g0nHWfhTRKAxOtnvYBsjEPyYuDJQuVd0er+CHG/6tXzd65lBq917B+BCGK56Cby yGlxtQrnN+VMhpF7dbHOQujbEia9TAhOnuI+eitKVgB+dm2ZVoWiM/QDg79w7HCaH1/R aLQczTotkGSKVLCmiU3AEBvkfH9GK5Kk6+N4K58LpkOI4XmgE80JgX6z3d35rGEj/G+s npaQ== 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 r198-v6si32177348pgr.456.2018.10.21.05.38.10; Sun, 21 Oct 2018 05:38:27 -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 S1727637AbeJUUv7 (ORCPT + 99 others); Sun, 21 Oct 2018 16:51:59 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:58128 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727333AbeJUUv6 (ORCPT ); Sun, 21 Oct 2018 16:51:58 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 951E580905; Sun, 21 Oct 2018 14:37:44 +0200 (CEST) Date: Sun, 21 Oct 2018 14:37:45 +0200 From: Pavel Machek To: Alan Cox Cc: Joerg Roedel , 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: <20181021123745.GA26042@amd> References: <20180830205527.dmemjwxfbwvkdzk2@suse.de> <20180831070722.wnulbbmillxkw7ke@suse.de> <20180911114927.gikd3uf3otxn2ekq@suse.de> <20180911121128.ikwptix6e4slvpt2@suse.de> <20180918140030.248afa21@alans-desktop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <20180918140030.248afa21@alans-desktop> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 2018-09-18 14:00:30, Alan Cox wrote: > On Tue, 11 Sep 2018 14:12:22 +0200 > Joerg Roedel wrote: >=20 > > 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.= =20 > > > PAE is off just for performance reasons, not lack of PAE. PAE should = be=20 > > > present on all of my affected machines anyway and current distributio= ns=20 > > > seem to mostly assume 686 and PAE anyway for 32-bit systems. =20 > >=20 > > Right, most distributions don't even provide a non-PAE kernel for their > > users anymore. > >=20 > > How big is the performance impact of using PAE over legacy paging? >=20 > 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. >=20 > 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. I do have some AMD Geode here, in form of subnotebook. Definitely newer then Pentium Ms, but no PAE... Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --9amGYk9869ThD9tj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlvMcxkACgkQMOfwapXb+vJ6pgCgu3iDvOnkmr4HLzuB2U2AzpSE uwgAoKVSZZZk13M9JhHUdFhHkzV6VtfE =ssuM -----END PGP SIGNATURE----- --9amGYk9869ThD9tj--