summaryrefslogtreecommitdiff
path: root/src/SConscript
diff options
context:
space:
mode:
authorShell <[email protected]>2024-12-02 15:15:59 +0800
committerRbb666 <[email protected]>2025-03-10 22:45:28 +0800
commitfafa74569806d61756d757d3de537b0395215199 (patch)
treeee00a51001166996ef847fe2295b6f9f918f04a6 /src/SConscript
parentd54a457b04f79efad63d8452f935e3b81ea90006 (diff)
feat: mm: page poison debugging and assertion enhancements
This commit introduces a page poison debugging mechanism and additional assertions for memory management, improving system maintainability and debugging capabilities. The changes aim to detect illegal memory usage early and provide better clarity in managing page allocations. Changes: - Added `RT_DEBUGGING_PAGE_POISON` option to enable memory usage tracing. - Introduced a page poisoner for detecting illegal memory usage. - Implemented region-based memory tracking using bitmaps. - Enhanced spinlock protection for memory management operations. - Fixed several assertion checks for memory safety. - Renamed macros for consistency (`FLOOR` to `CEIL`). - Refined memory allocation and deallocation logic to include poisoning. - Updated Kconfig to add configurable `RT_PAGE_MAX_ORDER` and poison debugging. - Improved debugging outputs for page regions and memory operations. Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'src/SConscript')
0 files changed, 0 insertions, 0 deletions