<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/dfs/dfs_v2/src/dfs_pcache.c, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/dfs/dfs_v2/src/dfs_pcache.c?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/dfs/dfs_v2/src/dfs_pcache.c?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-08-03T02:53:26Z</updated>
<entry>
<title>[components/dfs]add doxygen comments for dfs pcache file in dfs_v2.</title>
<updated>2025-08-03T02:53:26Z</updated>
<author>
<name>ligr</name>
<email>liguorui1213@163.com</email>
</author>
<published>2025-08-02T11:35:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8e18f354c5ea8779b92a81f127ab1dbd7913b212'/>
<id>urn:sha1:8e18f354c5ea8779b92a81f127ab1dbd7913b212</id>
<content type='text'>
</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>feat: add support for dfs remount functionality</title>
<updated>2025-01-06T11:34:16Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-11-13T07:37:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b63b388d1f9341e97b9e62687271d74c70a40f86'/>
<id>urn:sha1:b63b388d1f9341e97b9e62687271d74c70a40f86</id>
<content type='text'>
This patch introduces a remount feature for the DFS, allowing for the
modification of mount parameters without unmounting the filesystem,
the remount functionality helps modify certain mount flags (like `MS_RDONLY`) without
requiring an unmount, providing more control over mounted filesystems in the system.

The updates is essential for user space init proc to cleanup the runtime
resource, ensuring clean handling of cached data and enhancing system
robustness during power down processing.

Changes:
- Defined new constants for remount flags in `dfs_fs.h`.
- Added the `dfs_remount()` function in `dfs_fs.c` to handle remount operations.
- Introduced a check for unsupported flags and handle error conditions such as invalid paths
  or non-directory targets.
- Updated the `dfs_mnt` structure in `dfs_mnt.h` to include a read-only flag (`MNT_RDONLY`).
- The `dfs_remount()` function allows changing the read-only status of a mounted filesystem.
- Added `MNT_LAZY_UMNT` and `MNT_RDONLY` flags to `dfs_mnt` structure.
- Introduced `dfs_mnt_setflags` function for dynamic flag management.
- Updated `dfs_remount` to utilize `dfs_mnt_setflags` for flag setting.
- Enhanced unmount operations with `dfs_mnt_umount_iter` and lazy unmounting.
- Added `dfs_pcache_clean` to handle cache cleanup for read-only mounts.
- Improved error reporting in `dfs_umount` for better user feedback.
- Refactored `sys_mount` to streamline parameter handling and support remounts.
- Introduced `_cp_from_usr_string` helper for user-space string operations.
- Updated internal APIs to ensure consistency in reference count management.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>修复编译过程中的 DFS_V2报错、FAL警告</title>
<updated>2025-01-02T00:02:50Z</updated>
<author>
<name>yuqingli05</name>
<email>106426122+yuqingli05@users.noreply.github.com</email>
</author>
<published>2025-01-02T00:02:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d57b7cb40af7e41624eb7b31fc38446921a975bf'/>
<id>urn:sha1:d57b7cb40af7e41624eb7b31fc38446921a975bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[dfs] Mark dirty on unmap on shared mapping only (#9195)</title>
<updated>2024-07-16T09:03:54Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-07-16T09:03:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1b581d0755450788b161f05486ecd97ee4f88ff3'/>
<id>urn:sha1:1b581d0755450788b161f05486ecd97ee4f88ff3</id>
<content type='text'>
[dfs] feat: Mark dirty on unmap for shared mapping

This patch optimizes the pcache varea management by refining the
conditions under which pages are marked dirty, specifically targeting
the unmap operations in the dfs_pcache component. These changes were
necessary to enhance the efficiency of page cache management.

Changes:
- Adjusted include statements in `dfs_pcache.c` for better organization.
- Modified `dfs_aspace_unmap` function:
  - Added a check to ensure `varea` is not privately locked before marking a page as dirty.
- Updated `dfs_aspace_page_unmap` function:
  - Added a similar check for `varea` lock status before marking a page as dirty.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;</content>
</entry>
<entry>
<title>fix file mmap (#8865)</title>
<updated>2024-04-28T07:21:02Z</updated>
<author>
<name>xiao-mang</name>
<email>53597406+xiao-mang@users.noreply.github.com</email>
</author>
<published>2024-04-28T07:21:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c359e93a9cc46e0c41328a85b760b45e031133ac'/>
<id>urn:sha1:c359e93a9cc46e0c41328a85b760b45e031133ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix for art-pi smart</title>
<updated>2024-04-19T10:17:20Z</updated>
<author>
<name>xiao-mang</name>
<email>ly1874108@126.com</email>
</author>
<published>2024-04-19T06:48:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=98204c249b45d470975fd790a3068da9fcd912eb'/>
<id>urn:sha1:98204c249b45d470975fd790a3068da9fcd912eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix for art-pi smart</title>
<updated>2024-04-19T10:17:20Z</updated>
<author>
<name>xiao-mang</name>
<email>ly1874108@126.com</email>
</author>
<published>2024-04-19T04:02:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=4de96450be169bc918a0d011ec9c777a2e98f2ef'/>
<id>urn:sha1:4de96450be169bc918a0d011ec9c777a2e98f2ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sync smart &amp; dfs (#8672)</title>
<updated>2024-03-28T15:42:56Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-03-28T15:42:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=83e95bdff4c48c661b50e1eec56d5fd293b28fbb'/>
<id>urn:sha1:83e95bdff4c48c661b50e1eec56d5fd293b28fbb</id>
<content type='text'>
Signed-off-by: xqyjlj &lt;xqyjlj@126.com&gt;
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
Co-authored-by: xqyjlj &lt;xqyjlj@126.com&gt;</content>
</entry>
<entry>
<title>🎯 Sync smart &amp; scheduler codes (#8537)</title>
<updated>2024-02-23T09:49:15Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-02-23T09:49:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=71560bafb5735220696ca24a42ba4a668b55949b'/>
<id>urn:sha1:71560bafb5735220696ca24a42ba4a668b55949b</id>
<content type='text'>
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
Co-authored-by: xqyjlj &lt;xqyjlj@126.com&gt;</content>
</entry>
</feed>
