diff options
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" |
