summaryrefslogtreecommitdiff
path: root/include/rtthread.h
diff options
context:
space:
mode:
authorShell <[email protected]>2024-07-16 17:03:54 +0800
committerGitHub <[email protected]>2024-07-16 17:03:54 +0800
commit1b581d0755450788b161f05486ecd97ee4f88ff3 (patch)
tree82021b28bc45cf456f129abea5880c21412cca1f /include/rtthread.h
parentd8d0af9143bc40c017aa7d9833b6a87e5d843968 (diff)
[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 <[email protected]>
Diffstat (limited to 'include/rtthread.h')
0 files changed, 0 insertions, 0 deletions