rt-thread-official/components
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 [dfs] Mark dirty on unmap on shared mapping only (#9195) 2024-07-16 17:03:54 +08:00
drivers [driver][virtio]fix virtio net rx error (#9170) 2024-07-13 22:16:03 +08:00
fal [components][fal]Log warning for block partition exceeding flash length 2024-07-14 22:51:08 +08:00
finsh [components][msh]msh命令失败添加打印日志 2024-06-24 10:56:48 +08:00
legacy [components][drivers]legacy fdt (#9062) 2024-06-19 19:48:35 +08:00
libc fix Compilation error in "driver.c", "completion_up.c", "syslog.c" and "dlmodule.c". (#9093) 2024-06-26 23:25:23 +08:00
lwp [lwp][vdso] Add VDSO functionality under the aarch64 architecture (#9176) 2024-07-15 17:58:29 +08:00
mm feat: support ARCH_REMAP_KERNEL on libcpu/c906 (#9123) 2024-07-11 11:00:04 +08:00
mprotect 实现MPU抽象层 (#8080) 2023-10-30 08:24:55 -04:00
net 除了bsp之外的Kconfig使用rsource替代source 2024-06-20 14:40:42 +08:00
utilities fix Compilation error in "driver.c", "completion_up.c", "syslog.c" and "dlmodule.c". (#9093) 2024-06-26 23:25:23 +08:00
vbus 🎯 Sync smart & scheduler codes (#8537) 2024-02-23 17:49:15 +08:00
Kconfig 除了bsp之外的Kconfig使用rsource替代source 2024-06-20 14:40:42 +08:00
SConscript [components] 移除对老版本bsp的lwip版本默认选定 2021-06-28 15:33:14 +08:00