rt-thread/components/dfs
Shell 1b581d0755
[dfs] Mark dirty on unmap on shared mapping only (#9195)
[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 <smokewood@qq.com>
2024-07-16 17:03:54 +08:00
..
dfs_v1 [format] cleanup libcpu/aarch64 (#8950) 2024-06-28 00:23:09 +08:00
dfs_v2 [dfs] Mark dirty on unmap on shared mapping only (#9195) 2024-07-16 17:03:54 +08:00
Kconfig sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
SConscript [DFS] add Kconfig for dfs-v2.0 (#7156) 2023-04-04 15:02:56 +08:00