[PATCH 0/2] platform: improve heap size handle
Inochi Amaoto
inochiama at gmail.com
Mon Sep 16 00:24:04 PDT 2024
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
More information about the opensbi
mailing list