Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp333317pxb; Thu, 25 Feb 2021 03:58:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCQvKzLbSHZenX3yCotV3xCoVmtXfiJrD1M8F3YIpmX1OFHpmAq43TIJYdTysRBwDLw55E X-Received: by 2002:a17:906:5453:: with SMTP id d19mr2269988ejp.150.1614254337502; Thu, 25 Feb 2021 03:58:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614254337; cv=none; d=google.com; s=arc-20160816; b=PQj0RwrZZsS7jiJVVS1EXmwJ5WfwzRhNO+lrNkxMytDPv5gYInBfon+X96SLQkd9+Y 4tlmaUwturvgCzYZv6s3Wj2+YdaDdyPlDjPrDqoCnPMro9XYtSwpix7jIFnNNJZ5O9Lu +lHZXqxUItxEbgJ1jlIGx4tgpSDVEvR6hML7yB2ySvlQUaPIZfDLjVIiKWBcq17QmyWR A+tNBP7A14b2c26gUE8ANyarTWKhzf9AZPza7izIANghnUfiDGjZaHj7kY5KPaYHw8WT knWO1wzCXUPVzEkYxYwvyjAffZKj32a/1yim+QcF1cDL0W546O4N688dhCney+upi69G 4UFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject; bh=zwduXP5vUYpN7zzbGcf3mAgbWi8/OXQBZa0aHvNuo50=; b=kjfkDWy6VDMG44DNb8bQnHNNon6ufOQ3TJcRcCr7fsIfippZYyPuC9YA4UaaueiPVr ZbQ756GxFuSZh92V2Cw0jEriWq30wPnLB9LjFFCsNLS3nfPa9a7v57HYpf5K6qneEcW0 jnWrb9vZVNd8PRFJPq23VvX1aSLpQBjmr0mPYHpXhMxuto7Z+IIZsNlsew+tfDwY4+rU jH/C/Tb5mDZLPfy42S1UdlHtClWWhdTufVipWuHofxcseKmZmL4jADyKVc0y8M+fB2C6 8dVMg/N47xn64CqIScvETmrnra/HjGZlIyUkB6G1zc9wLCDEXfxPSZNoPH4J7OxhxQgq Fw0A== ARC-Authentication-Results: i=1; mx.google.com; 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 l9si3295432ejx.515.2021.02.25.03.58.33; Thu, 25 Feb 2021 03:58:57 -0800 (PST) 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; 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 S230142AbhBYL5H (ORCPT + 99 others); Thu, 25 Feb 2021 06:57:07 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:41931 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbhBYL5G (ORCPT ); Thu, 25 Feb 2021 06:57:06 -0500 Received: from [192.168.43.237] (35.161.185.81.rev.sfr.net [81.185.161.35]) (Authenticated sender: alex@ghiti.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 85E2B200008; Thu, 25 Feb 2021 11:56:12 +0000 (UTC) Subject: Re: [PATCH 2/3] Documentation: riscv: Add documentation that describes the VM layout To: David Hildenbrand , Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Arnd Bergmann , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-arch@vger.kernel.org, linux-mm@kvack.org References: <20210225080453.1314-1-alex@ghiti.fr> <20210225080453.1314-3-alex@ghiti.fr> <5279e97c-3841-717c-2a16-c249a61573f9@redhat.com> From: Alex Ghiti Message-ID: <7d9036d9-488b-47cc-4673-1b10c11baad0@ghiti.fr> Date: Thu, 25 Feb 2021 06:56:11 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <5279e97c-3841-717c-2a16-c249a61573f9@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 2/25/21 à 5:34 AM, David Hildenbrand a écrit : >                  |            |                  |         |> + > ffffffc000000000 | -256    GB | ffffffc7ffffffff |   32 GB | kasan >> +   ffffffcefee00000 | -196    GB | ffffffcefeffffff |    2 MB | fixmap >> +   ffffffceff000000 | -196    GB | ffffffceffffffff |   16 MB | PCI io >> +   ffffffcf00000000 | -196    GB | ffffffcfffffffff |    4 GB | vmemmap >> +   ffffffd000000000 | -192    GB | ffffffdfffffffff |   64 GB | >> vmalloc/ioremap space >> +   ffffffe000000000 | -128    GB | ffffffff7fffffff |  126 GB | >> direct mapping of all physical memory > > ^ So you could never ever have more than 126 GB, correct? > > I assume that's nothing new. > Before this patch, the limit was 128GB, so in my sense, there is nothing new. If ever we want to increase that limit, we'll just have to lower PAGE_OFFSET, there is still some unused virtual addresses after kasan for example. Thanks, Alex