Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. menu "Memory management"
  2. config RT_PAGE_MPR_SIZE_DYNAMIC
  3. bool "Page MPR size is dynamic"
  4. default n
  5. help
  6. Some platforms' virtual address width is not a compile-time constant
  7. and must be determined dynamically at runtime.
  8. config RT_PAGE_AFFINITY_BLOCK_SIZE
  9. hex "Affinity block size in bytes for page management"
  10. default 0x1000
  11. help
  12. Page affinity block can be used to resolve the VIPT aliasing problem.
  13. It should be set to `1ul << ((index + block) - page_offset)` in this case.
  14. You could also exploit this as a tunning for cache coloring.
  15. config RT_PAGE_MAX_ORDER
  16. int "Max order of pages allocatable by page allocator"
  17. default 11
  18. depends on ARCH_MM_MMU
  19. help
  20. For example, A value of 11 means the maximum chunk of contiguous memory
  21. allocatable by page system is 2^(11 + ARCH_PAGE_BITS - 1) Bytes.
  22. Large memory requirement can consume all system resource, and should
  23. consider reserved memory instead to enhance system endurance.
  24. Max order should at least satisfied usage by huge page.
  25. config RT_USING_MEMBLOCK
  26. bool "Using memblock"
  27. default n
  28. help
  29. Using memblock to record memory infomation in init time
  30. config RT_INIT_MEMORY_REGIONS
  31. int "The max number of memory block regions in init time"
  32. depends on RT_USING_MEMBLOCK
  33. range 1 1024
  34. default 128
  35. help
  36. During the system initialization phase, the kernel divides
  37. memory into different types of regions. This variable specifies
  38. the maximum number of regions supported by the system.
  39. menu "Debugging"
  40. config RT_DEBUGGING_ALIASING
  41. bool "Using aliasing paging debugger"
  42. default n
  43. config RT_DEBUGING_PAGE_LEAK
  44. bool "Using page leaking tracer"
  45. default n
  46. config RT_DEBUGGING_PAGE_POISON
  47. bool "Using page poisoner to detect illegal usage"
  48. default n
  49. endmenu
  50. endmenu