diff options
| author | Shell <[email protected]> | 2023-04-22 23:59:11 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-22 23:59:11 +0800 |
| commit | 470454d201ebb89aa72525f8c3fb562e372f4f56 (patch) | |
| tree | e0a3ba80fb727a02b1981053934a9d50469e328a /src | |
| parent | 90c69a0588090e181e4ce12767738b1853510d3f (diff) | |
[components/mm] support for scalable memory management (#7277)
* [mm/page] multi-list page manager
[mm/page] page debugger
[libcpu/aarch64] hugepage support
* [quality] remove void-arith
* [format] remove kasan codes
Diffstat (limited to 'src')
| -rw-r--r-- | src/Kconfig | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/src/Kconfig b/src/Kconfig index a6f8a14bb0..ad6528048d 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -261,6 +261,12 @@ if RT_DEBUG int default 1 if RT_DEBUG_MEMHEAP_CONFIG + if ARCH_MM_MMU + config RT_DEBUG_PAGE_LEAK + bool "Enable page leaking tracer" + default n + endif + config RT_DEBUG_MODULE_CONFIG bool "Enable debugging of Application Module" default n @@ -305,15 +311,17 @@ endmenu menu "Memory Management" - config RT_PAGE_MAX_ORDER - int "Max order of pages allocatable by page allocator" - default 11 - help - For example, A value of 11 means the maximum chunk of contiguous memory - allocatable by page system is 2^(11 + ARCH_PAGE_BITS - 1) Bytes. - Large memory requirement can consume all system resource, and should - consider reserved memory instead to enhance system endurance. - Max order should at least satisfied usage by huge page. + if ARCH_MM_MMU + config RT_PAGE_MAX_ORDER + int "Max order of pages allocatable by page allocator" + default 11 + help + For example, A value of 11 means the maximum chunk of contiguous memory + allocatable by page system is 2^(11 + ARCH_PAGE_BITS - 1) Bytes. + Large memory requirement can consume all system resource, and should + consider reserved memory instead to enhance system endurance. + Max order should at least satisfied usage by huge page. + endif config RT_USING_MEMPOOL bool "Using memory pool" |
