From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 21 Aug 2024 11:51:46 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sgi0I-00BsNC-1D for lore@lore.pengutronix.de; Wed, 21 Aug 2024 11:51:46 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sgi0H-00006t-ND; Wed, 21 Aug 2024 11:51:45 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sgi06-0008NX-MV; Wed, 21 Aug 2024 11:51:34 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sgi06-001yw6-2W; Wed, 21 Aug 2024 11:51:34 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sgi06-006Asv-03; Wed, 21 Aug 2024 11:51:34 +0200 From: Oleksij Rempel To: distrokit@pengutronix.de Date: Wed, 21 Aug 2024 11:51:25 +0200 Message-Id: <20240821095133.1471779-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240821095133.1471779-1-o.rempel@pengutronix.de> References: <20240821095133.1471779-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v1 1/9] mips: kernel-malta: set page size to 4k X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oleksij Rempel Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false QA tool complains: 4KiB page size is the most common supported page size across architecture with best software compatibility and least internal fragmentation. This comes at the cost of increased TLB usage and page table size. For more server-like workloads (more processes, larger executables), a bigger page size can be a better trade-off, but the rationale should be explicitly documented by overriding this check. Signed-off-by: Oleksij Rempel --- configs/platform-mips/kernelconfig-malta | 4 ++-- configs/platform-mips/kernelconfig-malta.diff | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta index b5bd750e..41f77b74 100644 --- a/configs/platform-mips/kernelconfig-malta +++ b/configs/platform-mips/kernelconfig-malta @@ -349,8 +349,8 @@ CONFIG_HARDWARE_WATCHPOINTS=y # CONFIG_32BIT=y CONFIG_ZBOOT_LOAD_ADDRESS=0x0 -# CONFIG_PAGE_SIZE_4KB is not set -CONFIG_PAGE_SIZE_16KB=y +CONFIG_PAGE_SIZE_4KB=y +# CONFIG_PAGE_SIZE_16KB is not set # CONFIG_PAGE_SIZE_64KB is not set CONFIG_ARCH_FORCE_MAX_ORDER=11 CONFIG_BOARD_SCACHE=y diff --git a/configs/platform-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff index 679bf625..7c0ceeb2 100644 --- a/configs/platform-mips/kernelconfig-malta.diff +++ b/configs/platform-mips/kernelconfig-malta.diff @@ -1172,8 +1172,6 @@ CONFIG_OF_MDIO=m # CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is undefined # CONFIG_OVERLAY_FS_REDIRECT_DIR is undefined CONFIG_PAGE_POOL_STATS=y -CONFIG_PAGE_SIZE_16KB=y -# CONFIG_PAGE_SIZE_4KB is not set # CONFIG_PANIC_ON_OOPS is not set CONFIG_PANIC_ON_OOPS_VALUE=0 CONFIG_PANIC_TIMEOUT=0 -- 2.39.2