Kconfig 982 B

12345678910111213141516171819202122232425262728293031
  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_USING_MEMBLOCK
  10. bool "Using memblock"
  11. default n
  12. help
  13. Using memblock to record memory infomation in init time
  14. config RT_INIT_MEMORY_REGIONS
  15. int "The max number of memory block regions in init time"
  16. depends on RT_USING_MEMBLOCK
  17. range 1 1024
  18. default 128
  19. help
  20. During the system initialization phase, the kernel divides
  21. memory into different types of regions. This variable specifies
  22. the maximum number of regions supported by the system.
  23. config RT_DEBUGGING_ALIASING
  24. bool "Using aliasing paging debugger"
  25. default n
  26. endmenu