From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 16 Aug 2024 14:52:30 +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 1sewRS-00ADHS-1A for lore@lore.pengutronix.de; Fri, 16 Aug 2024 14:52:30 +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 1sewRR-00026X-D6; Fri, 16 Aug 2024 14:52:29 +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 1sewRG-00024M-Sq; Fri, 16 Aug 2024 14:52:18 +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 1sewRG-000q7Q-Cn; Fri, 16 Aug 2024 14:52:18 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sewRG-007yRo-17; Fri, 16 Aug 2024 14:52:18 +0200 From: Oleksij Rempel To: distrokit@pengutronix.de Date: Fri, 16 Aug 2024 14:52:09 +0200 Message-Id: <20240816125217.1900626-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v1 1/9] mipsel: 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-mipsel/kernelconfig-malta | 4 ++-- configs/platform-mipsel/kernelconfig-malta.diff | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configs/platform-mipsel/kernelconfig-malta b/configs/platform-mipsel/kernelconfig-malta index 5fdfd84d..ba066e4a 100644 --- a/configs/platform-mipsel/kernelconfig-malta +++ b/configs/platform-mipsel/kernelconfig-malta @@ -338,8 +338,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-mipsel/kernelconfig-malta.diff b/configs/platform-mipsel/kernelconfig-malta.diff index a8ee88c1..9e30a228 100644 --- a/configs/platform-mipsel/kernelconfig-malta.diff +++ b/configs/platform-mipsel/kernelconfig-malta.diff @@ -1107,8 +1107,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