From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4370FD18130 for ; Mon, 14 Oct 2024 17:02:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:Message-ID:In-Reply-To:Subject:cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=x8pf8dv6TsP8JXdYfzHDLKge5Sr1VNwRTlf5smWntyw=; b=hfnSHQaw1ByhjoruuSri2AlNzC CRQ+7R4bEauou4+c2EDJVof45EiQvNlSP47IDmkBiFtWsvPrsjFjZvw4uBLvoWAP4bJpKxLYgOv+L 1win90wR9W64tDeCi0xxxZsP8vcbLxrcSTOkRmcLI3CSThqfrkA9E+ipzq20fUS923a04GydS0Feg wNKcNPPCr6Oa44j4HzUAtFedRO6TcHWHC4gXWQHjPJAuQABtEaNYjmg3pEj+Dl7dgEndRNkb2H0C4 JBd7X0l3S1X5H2TqZQcOZRacGS5Fl4QYddz6Y3vEqMTPhiIY/BDgeGmeejjVRKMb2NT61W7vnwcPo rWAd/fkQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0OSl-00000005xYg-2JtB; Mon, 14 Oct 2024 17:02:31 +0000 Received: from gentwo.org ([62.72.0.81]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0OR5-00000005xED-0fQs for linux-arm-kernel@lists.infradead.org; Mon, 14 Oct 2024 17:00:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gentwo.org; s=default; t=1728924621; bh=x8pf8dv6TsP8JXdYfzHDLKge5Sr1VNwRTlf5smWntyw=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=UDeAXkOhC34P/2l1RSU7AY+bCJpczEZhKjdHGbeEmaF/xWT8iZpAPJIciPsJ+Iabi Zf3bTpAO7c/Md9XExJpUfQLL2+CD4MuwJ6SWAToxHIbFFYT2MbTaRt5FkNkyX6FfMD RONlruABvmO0uB9Gq9q5ARnHkbQm4I/2gdZje5xc= Received: by gentwo.org (Postfix, from userid 1003) id 2DFA44040C; Mon, 14 Oct 2024 09:50:21 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 2BD01401C9; Mon, 14 Oct 2024 09:50:21 -0700 (PDT) Date: Mon, 14 Oct 2024 09:50:21 -0700 (PDT) From: "Christoph Lameter (Ampere)" To: Ryan Roberts cc: Andrew Morton , Anshuman Khandual , Ard Biesheuvel , Arnd Bergmann , Catalin Marinas , David Hildenbrand , Dennis Zhou , Greg Marsden , Ivan Ivanov , Kalesh Singh , Marc Zyngier , Mark Rutland , Matthias Brugger , Miroslav Benes , Tejun Heo , Will Deacon , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC PATCH v1 02/57] vmlinux: Align to PAGE_SIZE_MAX In-Reply-To: <20241014105912.3207374-2-ryan.roberts@arm.com> Message-ID: <0e7c6bd0-b4a0-4afe-22ff-73239bd86943@gentwo.org> References: <20241014105514.3206191-1-ryan.roberts@arm.com> <20241014105912.3207374-1-ryan.roberts@arm.com> <20241014105912.3207374-2-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241014_100047_270837_BD9F1AC2 X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 14 Oct 2024, Ryan Roberts wrote: > Increase alignment of structures requiring at least PAGE_SIZE alignment > to PAGE_SIZE_MAX. For compile-time PAGE_SIZE, PAGE_SIZE_MAX == PAGE_SIZE > so there is no change. For boot-time PAGE_SIZE, PAGE_SIZE_MAX is the > largest selectable page size. Can you verify that this works with the arch specific portions? This may also allow to to reduce some of the arch dependent stuff.