Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1635306pxa; Thu, 6 Aug 2020 12:06:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzL5vBOi1Qo3JkW7URvgQgw3gjUnKb8ehGbYUINj55fOBTJoCqRw9EeEzI6e4QV5siLHeS1 X-Received: by 2002:a17:906:454e:: with SMTP id s14mr5685955ejq.147.1596740781705; Thu, 06 Aug 2020 12:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596740781; cv=none; d=google.com; s=arc-20160816; b=Bn9aGDegI13ZKMOzgSPj1RWD++q/ktv8/UuUKdtWANhwJYElAt36IK4lTEgkN2nai2 GawdS6LsxyTgCjxO/5+OUqGDm+TjbgXUEbpNtyveaBh3N4ZsR6w4jxYNX4bR23JhcGEp biPmYpPjG25qP2BnMB29wy1GoBZLdJ2bF5/O/JL+KMoCBg6x/M3dHKv48Li83/pgpuow RSfEQQMK1mzKBKNdCnjh+feZCm6Am5j8vyrJe7Lnb6W5EWE/XmhoNlmuP+MX3oYhfCtC uJwGOM4i4pGpdTJ5wC6pED3t8dhqH+8i+geLgI35Cg6YE8lpNY8CmFxYwBGREzseTkdJ mNow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=3w/6rBN9gcH8mjIzzvZHXOpvgS1VvdyWbP7CAnustac=; b=yU4rGT+eCCyMNddF1rHbAG+psKBxSII97BU73OS9qgPPAhIp05JsjChWaEGu0VX3EC OvyJOL6wMfpwt4UY51JY9SI5omfrj1kYl+t/Z8PIugJTaIKnYDEWAjF5jlsFtqUkMTPB ImUZjdsPCT3GEdj3Mi3dUTNpcu7YjwyJJB6eAcTd0+jcPLR4JU+ZDu1pZ27xTTmGUs7K MJ8A134JQjBU5VNqFFG7ERxdsSaW2zMcPAO3B6YB2wMBQT7XJ37nFxNKFYK7nMZiM0Jj ADz3rvelGvtsQW9rWwnKn1OaSgiDZq7ZxWbcm7YsCANNn4bSeZrbUAi2A/XGEhfFERIt qGkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=LAScYD2k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v20si4059426ejc.227.2020.08.06.12.05.59; Thu, 06 Aug 2020 12:06:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=LAScYD2k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729822AbgHFTDC (ORCPT + 99 others); Thu, 6 Aug 2020 15:03:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725272AbgHFTDB (ORCPT ); Thu, 6 Aug 2020 15:03:01 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4FAAC061574 for ; Thu, 6 Aug 2020 12:03:00 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id h19so52991699ljg.13 for ; Thu, 06 Aug 2020 12:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3w/6rBN9gcH8mjIzzvZHXOpvgS1VvdyWbP7CAnustac=; b=LAScYD2k6fWNwYZVw30EOyN6VIFM+unJeE4Ac4q6MGpK5Upggmy70yXYew/uAy1VGW 2t5EZC5rxF2cpYmLmUWgAbMI7Jq9mHw+U+Lm7wvautoxVNUtfmTjG7Y4SeOk+rCib/WJ u8quIegVgsBFetyHqsXvomXjqzM8wZDcWUMgk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3w/6rBN9gcH8mjIzzvZHXOpvgS1VvdyWbP7CAnustac=; b=ojVcPnf5wOxyWUg4nATT0hYXS8a8rKD+ovlGlB5C5Z4e5/5ZcB0T0KJ+5OtSgCoCXh nzkfjDG9gftayiansg90WrE5NEutTitoCmUJlTZ7A1TgdCb1S2mOTODu4OpaCaNc22Li 6hxpjrmhF2hPqDNkVAx2+TK6y1+tuTFLrjbhDQyRiIIjRmZCu/sa2BgHiZYojt7BFArI BpZXyH+qiMqntpI2jaLeDpppm3+nOQylKusE39fWsuwW5rnGBCcTnmdynerJ46qmvf8C +uwjLQ1vgsW/36CNlA5UpqXfO24XG3/RfO0f2agOBw5wYN0/mcsdhAKtp6+Qv8Ju8R75 2Shw== X-Gm-Message-State: AOAM5301AOGo5QUDXCai6Fuz8XeQpW9fSDabFf3ZOx/VeTOEph00IKxg KIxTtJUzpA9BIfx9Mlp9Bix8h1Tiy50= X-Received: by 2002:a2e:2f02:: with SMTP id v2mr4724451ljv.391.1596740578147; Thu, 06 Aug 2020 12:02:58 -0700 (PDT) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com. [209.85.167.45]) by smtp.gmail.com with ESMTPSA id x2sm2792903ljc.123.2020.08.06.12.02.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Aug 2020 12:02:57 -0700 (PDT) Received: by mail-lf1-f45.google.com with SMTP id s9so26705699lfs.4 for ; Thu, 06 Aug 2020 12:02:56 -0700 (PDT) X-Received: by 2002:ac2:46d0:: with SMTP id p16mr4695357lfo.142.1596740576374; Thu, 06 Aug 2020 12:02:56 -0700 (PDT) MIME-Version: 1.0 References: <20200803190354.GA1293087@gmail.com> <20200805110348.GA108872@zx2c4.com> <20200806131034.GA2067370@gmail.com> <20200806185723.GA24304@suse.de> In-Reply-To: <20200806185723.GA24304@suse.de> From: Linus Torvalds Date: Thu, 6 Aug 2020 12:02:40 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] x86/mm changes for v5.9 To: Joerg Roedel Cc: Ingo Molnar , "Jason A. Donenfeld" , Linux Kernel Mailing List , Thomas Gleixner , Borislav Petkov , Peter Zijlstra , Andrew Morton Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 6, 2020 at 11:57 AM Joerg Roedel wrote: > > On Thu, Aug 06, 2020 at 03:10:34PM +0200, Ingo Molnar wrote: > > > > * Linus Torvalds wrote: > > > So apparently the "the page-table pages are all pre-allocated now" is > > > simply not true. Joerg? > > It pre-allocates the whole vmalloc/ioremap PUD/P4D pages, but I actually > only tested it with 4-level paging, as I don't have access to 5-level > paging hardware. I don't think Jason has either. The PGD 0 P4D 0 line tells us that "pgd_present()" is true, even though PGD is 0 (otherwise it wouldn't print the P4D part). That means that he doesn't have l5 enabled. But you may obviously have different settings for CONFIG_X86_5LEVEL, and maybe that ends up changing something? But since apparently it's not immediately obvious what the problem is, I'll revert it for now. Linus