Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp151896lqb; Tue, 16 Apr 2024 11:19:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCKmzY18uQQjOKBDtEWJt1iCFJ6P0Lr8kK/z8HvMBj99/JRBFBr7fQS5QlgDJhIiNt98he97k3FQ5E4YVGiHot84jlJYsIpuBxXGiypA== X-Google-Smtp-Source: AGHT+IH22/iV6PAT4AnEb06UG3hX6HBKalzT1HVil6gwBRQVMJpyRTLAX3S080tY+i+t2MulRRZV X-Received: by 2002:a0c:cc0f:0:b0:69b:46ab:e20 with SMTP id r15-20020a0ccc0f000000b0069b46ab0e20mr14788421qvk.17.1713291569131; Tue, 16 Apr 2024 11:19:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713291569; cv=pass; d=google.com; s=arc-20160816; b=Ep8g4K6bykwgOxmz848nzxmb/85A2gzpbQxAcrvZfwM8dguMkKqLKUoJbp50RBnlc5 SVBjpfQWhHAG8g45wHRW9yfXBLgDkSLiGOF4dJ4aXYaZZNfJcgqFNC6ApiiOSLkSu5Qg +LpAtUW1ZlOtHm+YJhu8eUt0CUrDpj88SSlItQFvfAjBuECWFm6vGwZ6cehKNUVfoe8F yKpgjiX+23whnaRJy/ljMgr/QLJYW7tU8PoCJ9U+rdeLMwcBzNJ8Cm3maAoi+G1Xlszt MfPNM9/9itsQqDLxvpI2WAPJpdWANlJk8TpsdGS/+Sw4rjITf9GhrN+a4L7ZTqisfG/r 9WYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4mnQeFV+1d2ACqYIpiRfB9zIxCVxc1SaIeDaBwdr/wQ=; fh=LCCZlmGdnR5Hf2zqt0CZuDJW23hYv+3i+Kz9i+UjCpo=; b=v7hZqSr5oRDEPiP4iAi56fF2YItVA0LDLd5rEqte53XJppZ2qgmfjxm9OdqqhDN+bP 1M2Jv+bnRHLly2n23w7agkNLxsajpkCmynD5PGJsA1Rdx8gF9koQfL7oYxjuZy56kO7n DNuMpMV+pYFAYyTSUB+JHqVWGPxgS76vWHxzgH9ACCaRzdav/DVVXxVFPV4FbkASLyQP 2UnRfz5yGuxmfJWDnXSpeOfqQaOxGiQ65h6TdiR1HGCnN6e0bg96Gs1B4XDs22f+e/e9 TkAHO05yXce/fkfmYz0yrIZ9FYooAEH3zLpwLadG+hVOgkKn5x2IL2Nz+IUtAVks1cZd YwMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TJFISS3f; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-ext4+bounces-2118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id mg7-20020a056214560700b0069b31abd287si13140161qvb.363.2024.04.16.11.19.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 11:19:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TJFISS3f; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-ext4+bounces-2118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BB5991C21870 for ; Tue, 16 Apr 2024 18:19:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D5FA135418; Tue, 16 Apr 2024 18:19:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TJFISS3f" X-Original-To: linux-ext4@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0DDE134CD0; Tue, 16 Apr 2024 18:19:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713291552; cv=none; b=IDof4kg6bRLphZVGTa90U5oL3yYJQYIXhtnDmfY8qmIhIOvHv2c4e8BIpm9vO/W4SsMudFZx7F02uNJpwcGfn76hfHv49ufSBhZtJeiVHrucb1yo+lMnqQCyNZfQkRSKQ3Da95iLy/FunRYLcjqZBQ7vwK/eIk1BJcutYCiOf3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713291552; c=relaxed/simple; bh=OSFyHt08QH9EQT0OH6l2mjM6TDXgg4K1qPiqN9EnzTQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ktixbaK0mtmPhVBhY7SP8XepjcNYspSFTkHw+r+/R6nmHSy6B7QFl/+ZqGDvRr6tjj51VOeuWxk0Rbc3zoi9o1LrzrnQWcK1sEVzi/cMiJX3Ib68krsfhwHycXTC85KC/SIksYCUz0RVKXxexpexeiHqEfDr91dMkakuHnfF/4o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TJFISS3f; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E1C2C113CE; Tue, 16 Apr 2024 18:19:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713291552; bh=OSFyHt08QH9EQT0OH6l2mjM6TDXgg4K1qPiqN9EnzTQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TJFISS3fPUcd6DEOOP0W+iLg/MehqWAKn84NatA9HD2x9ox4VLLzoRForSafJLD5Z 7bknIRzjCT4DAd3BU/lMIEJKmiIGlav6YBMZMbz/DN4vug1w5ufeLyipa8GyG6ee/E 2VBwwcud1ujgQzDiV0AkCdaD7egYm3HrIcJ+CWH2QlbK/4r+shqzCLAI8Y66FlC6Qm Df/4O359q3sLIf8HsChGbNGebitD1yY8qQTqMgKU2HRSnIW4bSh5OtY1xFENmbcjcw CvvFesh2ElTtCjgpJuW7rKi4ipanh0qwGxR5nqaPQG5AFADuX/VcD+oLP/Ps2rpJT6 4j5kRjU+IlUHw== Date: Tue, 16 Apr 2024 21:18:02 +0300 From: Mike Rapoport To: Matthew Wilcox Cc: Nam Cao , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Christian Brauner , Andreas Dilger , Al Viro , linux-fsdevel , Jan Kara , Linux Kernel Mailing List , linux-riscv@lists.infradead.org, Theodore Ts'o , Ext4 Developers List , Conor Dooley , Anders Roxell , Alexandre Ghiti Subject: Re: riscv32 EXT4 splat, 6.8 regression? Message-ID: References: <20240416-deppen-gasleitung-8098fcfd6bbd@brauner> <8734rlo9j7.fsf@all.your.base.are.belong.to.us> <20240416171713.7d76fe7d@namcao> Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Apr 16, 2024 at 05:31:51PM +0100, Matthew Wilcox wrote: > On Tue, Apr 16, 2024 at 07:19:27PM +0300, Mike Rapoport wrote: > > > "last page of the first gigabyte" - why first gigabyte? Do you mean > > > last page of *last* gigabyte? > > > > With 3G-1G split linear map can map only 1G from 0xc0000000 to 0xffffffff > > (or 0x00000000 with 32-bit overflow): > > > > [ 0.000000] lowmem : 0xc0000000 - 0x00000000 (1024 MB) > > ... but you can't map that much. You need to reserve space for (may not > be exhaustive): > > - PCI BARs (or other MMIO) > - vmap > - kmap > - percpu > - ioremap > - modules > - fixmap > - Maybe EFI runtime services? > > You'll be lucky to get 800MB of ZONE_NORMAL. But that does not mean that the last page won't get to the buddy -- Sincerely yours, Mike.