Kconfig 1.7 KB

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