<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/mm, branch copilot/update-elm-fatfs-to-r016</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/mm?h=copilot%2Fupdate-elm-fatfs-to-r016</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/mm?h=copilot%2Fupdate-elm-fatfs-to-r016'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-10-15T01:43:16Z</updated>
<entry>
<title>utest: UTEST_MM_API_TC -&gt; RT_UTEST_MM_API</title>
<updated>2025-10-15T01:43:16Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-10-13T08:38:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9ca37156f5406a8747c107ef12f78536c3fb23e6'/>
<id>urn:sha1:9ca37156f5406a8747c107ef12f78536c3fb23e6</id>
<content type='text'>
Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;
</content>
</entry>
<entry>
<title>[mm]修复unmap内存时遗漏刷新地址转换表的问题，避免dcache(PIPT)出错</title>
<updated>2025-03-10T14:32:32Z</updated>
<author>
<name>heyuanjie87</name>
<email>943313837@qq.com</email>
</author>
<published>2025-03-10T10:16:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c16d14e70b3ca7d40e4236f23f30162049132e8d'/>
<id>urn:sha1:c16d14e70b3ca7d40e4236f23f30162049132e8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: improve Kconfig structure on MM</title>
<updated>2025-02-25T03:26:30Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-10-14T03:43:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d9b36c8d181571922fd339ff2749c5eae62c6704'/>
<id>urn:sha1:d9b36c8d181571922fd339ff2749c5eae62c6704</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>feat: mm: page poison debugging and assertion enhancements</title>
<updated>2025-02-25T03:26:30Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-12-02T07:15:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=60f7b3affc716b8ba417a088475b1007fbe8af6d'/>
<id>urn:sha1:60f7b3affc716b8ba417a088475b1007fbe8af6d</id>
<content type='text'>
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 &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>feat: mm: install page in a discrete method</title>
<updated>2025-02-25T03:26:30Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-12-02T07:13:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=269d28ac3bfe7bce250eb21b74fcf2c72a0bfdc9'/>
<id>urn:sha1:269d28ac3bfe7bce250eb21b74fcf2c72a0bfdc9</id>
<content type='text'>
This patch refactors the `rt_page_install` function by delegating specific
operations to new helper functions. Besides, the contiguous page regions
are now separated to segments of fixed size. The goal is to improve the
overall code readability, enhance modularity, and ensure better handling
of page installation logic through clearer separation of concerns.

Changes:
- Introduced `_get_mpr_ready_n_install` to encapsulate memory preparation
  and page installation logic.
- Added `_update_region_list` for updating the installed page registry.
- Defined `_PAGE_STRIPE` for optimized region processing.
- Modified `rt_page_install` to handle regions in smaller chunks using
  helper functions for better maintainability.
- Improved locking mechanisms with `rt_spin_lock` for thread safety.
- Reduced code duplication and clarified shadow region calculations.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>feat: mm: added affinity pages allocator</title>
<updated>2025-02-25T03:26:30Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-11-28T09:53:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9386411d13d8f9085eebc1ac7515f008685ab447'/>
<id>urn:sha1:9386411d13d8f9085eebc1ac7515f008685ab447</id>
<content type='text'>
This patch introduces a tagged pages allocator to address the existing problems
of page aliasing on specific platforms and the requirement of page coloring.
It implements an affinity-id aware page manager by separating the runtime page
list into two types: a normal single linked-list and a multi-dimensional affinity-list.

Changes:
- Introduced tagged pages allocator and managing algorithm for affinity pages list
- Modified components to support affinity-id list management
- Updated page allocation and freeing functions to handle tagged pages
- Added configuration options for page affinity block size and debugging
- Modified mmap and elf loading to respect affinity settings
- Enhanced page list management to support multi-dimensional affinity-list

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>[componets] fix when printf 0 addr by %p will return nil</title>
<updated>2024-12-10T00:45:40Z</updated>
<author>
<name>zhujiale</name>
<email>945386260@qq.com</email>
</author>
<published>2024-12-03T08:19:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e7b30ed2ccf53c2da5128b33ab83ae0e3823fbff'/>
<id>urn:sha1:e7b30ed2ccf53c2da5128b33ab83ae0e3823fbff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: support ARCH_REMAP_KERNEL on libcpu/c906 (#9123)</title>
<updated>2024-07-11T03:00:04Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-07-11T03:00:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=beee77f372a3dc4b2ef7cbf4d8ab70aba19dddb4'/>
<id>urn:sha1:beee77f372a3dc4b2ef7cbf4d8ab70aba19dddb4</id>
<content type='text'>
feat: [libcpu/c906] support ARCH_REMAP_KERNEL

This change was necessary to enable the remapping of the kernel image to
a high virtual address region on the c906 platform.

Changes:
- Introduced new configuration options `ARCH_REMAP_KERNEL`, and
  `ARCH_USING_ASID` under the `ARCH_RISCV64` section.
- Updated MMU initialization and switching functions to incorporate
  remapping handling.
- Modified page table setup for proper memory attribute settings.
- Added support for early memory setup, kernel remapping
- Added conditional compilation for ASID support in the `rt_aspace` struct,
  since this is not enable currently for most architecture.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>[libcpu][aarch64]memory setup using memblock (#9092)</title>
<updated>2024-06-26T06:36:49Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-06-26T06:36:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b785ef9ed76fcf97d3f2d59e02bfaa8b5f6cc74e'/>
<id>urn:sha1:b785ef9ed76fcf97d3f2d59e02bfaa8b5f6cc74e</id>
<content type='text'>
* memory setup using memblock

* map pages later</content>
</entry>
<entry>
<title>[smart] add mprotect config (#9082)</title>
<updated>2024-06-22T05:30:55Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-06-22T05:30:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=fa2d80679e5d1a93c26edc484622866779381a29'/>
<id>urn:sha1:fa2d80679e5d1a93c26edc484622866779381a29</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
</feed>
