kernel/vm: Split the page writer into its own file and queue subclass.

This paves the way for there being more than one modified queue,
e.g. for each KDiskDevice.
This commit is contained in:
Augustin Cavalier
2026-04-06 22:23:26 -04:00
parent 62b8be7e22
commit 248735d5a2
7 changed files with 1034 additions and 998 deletions
+1 -1
View File
@@ -890,7 +890,7 @@ do_cache_io(void* _cacheRef, void* cookie, off_t offset, addr_t buffer,
if (page->State() == PAGE_STATE_CACHED
|| page->State() == PAGE_STATE_MODIFIED) {
DEBUG_PAGE_ACCESS_START(page);
vm_page_requeue(page, true);
vm_page_requeue(page, true, NULL);
DEBUG_PAGE_ACCESS_END(page);
}