From: Inochi Amaoto <inochiama@gmail.com>
To: opensbi@lists.infradead.org
Subject: [PATCH 0/2] platform: improve heap size handle
Date: Mon, 16 Sep 2024 15:24:04 +0800 [thread overview]
Message-ID: <20240916072405.628158-1-inochiama@gmail.com> (raw)
This patch is split into two parts:
1. the first part is used to adjust the default heap size and make
it more driven by the CPU as most allocation is percpu. I think this
could reduce the further enlarge for the default heap size.
2. the second part is introduce a DT-based "heap-size", so the
platform can set the suitable heap-size. This is serve as a more
generic solution for some platform.
Inochi Amaoto (2):
platform: ensure enough heap size with debug triggers extension
platform: introduce DT-based configurable heap size
docs/opensbi_config.md | 4 ++++
include/sbi/sbi_platform.h | 2 +-
platform/generic/platform.c | 28 +++++++++++++++++++++++++---
3 files changed, 30 insertions(+), 4 deletions(-)
--
2.46.1
next reply other threads:[~2024-09-16 7:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-16 7:24 Inochi Amaoto [this message]
2024-09-16 7:25 ` [PATCH 1/2] platform: ensure enough heap size with debug triggers extension Inochi Amaoto
2024-09-20 5:33 ` Xiang W
2024-09-16 7:25 ` [PATCH 2/2] platform: introduce DT-based configurable heap size Inochi Amaoto
2024-09-20 5:33 ` Xiang W
2024-09-20 7:40 ` Inochi Amaoto
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=20240916072405.628158-1-inochiama@gmail.com \
--to=inochiama@gmail.com \
--cc=opensbi@lists.infradead.org \
/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