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 D7F99CFC287 for ; Tue, 15 Oct 2024 11:02:10 +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-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ify8TlD7WGNM11muGaP3TKLmM2DNWWoJRvqRB3OlD8I=; b=m07XGCy+8gpZMgoGBk1sEBoTHF dyE5wj2LxpGlmmoDAV8372ugfdm2GMi5NC590/XLGGSb2/XJDGZBtcJ9G08Uwv8MXN0kUgKVYB3P8 OH5eYMhZdPfi65veXuNI2nVCHnmNNmpizspzA9498plY453fR0Hn7QA/gPATMZlwO38Fq2XUeV/GR Osig3OAqLksTezv+o5+vSVACKrcdSsFcae+qOi85DaHV2HhS5k6QkvNc1oT9sd+P7hcvPeuh9OakS gxpyYYgX1BuMIlm++ywEAvEshefrtcfBpj1n9Rtg1vNtoJ6Skuv3czCzTlc1kql6/mktzIp0EOitZ PYaZjG6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0fJP-00000007wlV-132z; Tue, 15 Oct 2024 11:01:59 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0fBJ-00000007utp-0r9t for linux-arm-kernel@lists.infradead.org; Tue, 15 Oct 2024 10:53:39 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 333991007; Tue, 15 Oct 2024 03:54:06 -0700 (PDT) Received: from [10.57.86.207] (unknown [10.57.86.207]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E47463F51B; Tue, 15 Oct 2024 03:53:32 -0700 (PDT) Message-ID: Date: Tue, 15 Oct 2024 11:53:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v1 02/57] vmlinux: Align to PAGE_SIZE_MAX To: "Christoph Lameter (Ampere)" 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 References: <20241014105514.3206191-1-ryan.roberts@arm.com> <20241014105912.3207374-1-ryan.roberts@arm.com> <20241014105912.3207374-2-ryan.roberts@arm.com> <0e7c6bd0-b4a0-4afe-22ff-73239bd86943@gentwo.org> Content-Language: en-GB From: Ryan Roberts In-Reply-To: <0e7c6bd0-b4a0-4afe-22ff-73239bd86943@gentwo.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241015_035337_386871_423C2DEE X-CRM114-Status: GOOD ( 11.39 ) 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 14/10/2024 17:50, Christoph Lameter (Ampere) wrote: > 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. Sorry, Chistoph, I'm not exactly sure what you mean here by "arch specific portions" and "reduce some of the arch dependent stuff"? Could you elaborate? I can certainly verify that this change works for all the test scenarios I've listed on the cover letter. Thanks, Ryan