DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [DistroKit] [PATCH v1 1/9] mips: kernel-malta: set page size to 4k
Date: Wed, 21 Aug 2024 11:51:25 +0200	[thread overview]
Message-ID: <20240821095133.1471779-2-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20240821095133.1471779-1-o.rempel@pengutronix.de>

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-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




  reply	other threads:[~2024-08-21  9:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21  9:51 [DistroKit] [PATCH v1 0/9] address CI warnings for the MIPS platform Oleksij Rempel
2024-08-21  9:51 ` Oleksij Rempel [this message]
2024-08-21  9:51 ` [DistroKit] [PATCH v1 2/9] mips: barebox-malta: disable FS_CRAMFS Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 3/9] mips: barebox-malta: enable MMU Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 4/9] mips: barebox-malta: use MALLOC_TLSF Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 5/9] mips/mipsel: barebox: use CONSOLE_ACTIVATE_NONE Oleksij Rempel
2024-08-21 10:07   ` Ahmad Fatoum
2024-08-21 12:40     ` Robert Schwebel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 6/9] mips: kernel-malta: enable UBIFS Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 7/9] mips: kernel-malta: enable SQUASHFS Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 8/9] mipsel: kernel: enable PCI by default and sync it with malta config Oleksij Rempel
2024-08-21  9:51 ` [DistroKit] [PATCH v1 9/9] reason: MIPS: add PCI exception for ATH79 arch 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=20240821095133.1471779-2-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