From: Oleksij Rempel <o.rempel@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k
Date: Fri, 16 Aug 2024 14:52:09 +0200 [thread overview]
Message-ID: <20240816125217.1900626-1-o.rempel@pengutronix.de> (raw)
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 <o.rempel@pengutronix.de>
---
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
next reply other threads:[~2024-08-16 12:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-16 12:52 Oleksij Rempel [this message]
2024-08-16 12:52 ` [DistroKit] [PATCH v1 2/9] mipsel: kernel-malta: enable UBIFS Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 3/9] reason: MIPS malta has pci, but distrokit no pciutils Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 4/9] mipsel: kernel-malta: enable SQUASHFS Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 5/9] mipsel: kernel-malta: disable BLOCK_LEGACY_AUTOLOAD Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 6/9] mipsel: barebox-malta: enable MMU Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 7/9] mipsel: barebox-malta: use MALLOC_TLSF Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 8/9] mipsel: barebox-malta: disable FS_CRAMFS Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 9/9] mipsel: barebox-malta: use CONSOLE_ACTIVATE_NONE Oleksij Rempel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240816125217.1900626-1-o.rempel@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=distrokit@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox