Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3960052imm; Tue, 11 Sep 2018 04:58:45 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYUNWY+T/lwwW3mvbbszWAvnvHPquZZPM0Aa6G1+8fnOZeMQ7qhQIsunATW2HExeS8LhOmj X-Received: by 2002:aa7:88d3:: with SMTP id p19-v6mr29261342pfo.160.1536667125328; Tue, 11 Sep 2018 04:58:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536667125; cv=none; d=google.com; s=arc-20160816; b=B0iSQYf7vdxrCtDEmvrLLwLDSfXMXtV3FYgYsJFTzdTsGj4p8vdvvinhpRqXJrb2US +TtBV1clkCdOA8qJaroXx7YBQnskmcvk+1svN66xFB/WileffhddgI4X8IsJxNbIIh6A 2Way50OcsJPKBwI6XkQNlzkQ9xkyA/71R2agqam6WWgHEVogbxw4jckb5fLQEdVlIKes uxUj6KzePEjuXXhERKwFtyONZ0y73BRzfmNm9HSK5PQKXbRdbc7FznBJYkMAmc39CiNE v7YPOz2mW6OWB0xtYryAbVJprJY04/f2QtZzkh8AsjoTqv+eaf+dfSiOMXVPfdZcAmLH 3thQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=A3kErXNOIJ0uRAwWIMfUfo9xDYRQNu1Ys3lLlD3lIwI=; b=MWHhrTVl5Y0z3HpApBP0UCb2gJ8WlHUe+i3zJd6m3yTy0moYVR9knfdJNZOXYk74Uk 6UL7DmTbjmke717vGvjrqRR32wxaoxxKq0TpdZYP1v/ghZQzQNoDNOdU/DMkQwWcLTbd o2KwpWs0FKjHWBLHQJxGesRfHOi5+4tlTnmCuK2OyVwSGjuQ1PJ7AEyo9/nCxqF0636R GKPfJzuE+ArxQqkEKvlEnme9WjDnLGNRqP0zo02fmuuiZJN+jQcnCE1JDZqRC6jz7i4y xfRhg2YUkZCn8YegxvuiDp9y6I+0VOPPmLfdqOK/4Qyb/CGlGzRvuJbPbK1ScWOqClN3 wBjA== 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 k4-v6si7090001pgm.313.2018.09.11.04.58.29; Tue, 11 Sep 2018 04:58:45 -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 S1727690AbeIKQ5P (ORCPT + 99 others); Tue, 11 Sep 2018 12:57:15 -0400 Received: from smtp1.it.da.ut.ee ([193.40.5.66]:56962 "EHLO smtp1.it.da.ut.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbeIKQ5P (ORCPT ); Tue, 11 Sep 2018 12:57:15 -0400 Received: from math.ut.ee (unknown [IPv6:2001:bb8:2002:2400:5054:ff:fe3b:8db9]) by smtp1.it.da.ut.ee (Postfix) with ESMTP id 28ECC20947; Tue, 11 Sep 2018 14:58:13 +0300 (EEST) Received: by math.ut.ee (Postfix, from userid 1014) id 13D1E220AD1; Tue, 11 Sep 2018 14:58:11 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by math.ut.ee (Postfix) with ESMTP id 0B0EE220429; Tue, 11 Sep 2018 14:58:11 +0300 (EEST) Date: Tue, 11 Sep 2018 14:58:10 +0300 (EEST) From: Meelis Roos To: Joerg Roedel cc: Thomas Gleixner , Linux Kernel list , linux-mm@kvack.org, Andrea Arcangeli , Linus Torvalds Subject: Re: 32-bit PTI with THP = userspace corruption In-Reply-To: <20180911114927.gikd3uf3otxn2ekq@suse.de> Message-ID: References: <20180830205527.dmemjwxfbwvkdzk2@suse.de> <20180831070722.wnulbbmillxkw7ke@suse.de> <20180911114927.gikd3uf3otxn2ekq@suse.de> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 4) Disable PTI support on 2-level paging by making it dependent > on CONFIG_X86_PAE. This is, imho, the least ugly option > because the machines that do not support PAE are most likely > too old to be affected my Meltdown anyway. We might also > consider switching i386_defconfig to PAE? > > Any other thoughts? 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. -- Meelis Roos (mroos@ut.ee) http://www.cs.ut.ee/~mroos/