DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k
@ 2024-08-16 12:52 Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 2/9] mipsel: kernel-malta: enable UBIFS Oleksij Rempel
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Oleksij Rempel @ 2024-08-16 12:52 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

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




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-08-16 12:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox