idle_scan_active_pages(): vm_page_requeue() requires the caller to mark the
page accessed for the access debugging feature. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35542 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2104,15 +2104,16 @@ idle_scan_active_pages(page_stats& pageStats)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DEBUG_PAGE_ACCESS_START(page);
|
||||||
|
|
||||||
if (page->busy) {
|
if (page->busy) {
|
||||||
// page is busy -- requeue at the end
|
// page is busy -- requeue at the end
|
||||||
vm_page_requeue(page, true);
|
vm_page_requeue(page, true);
|
||||||
cache->ReleaseRefAndUnlock();
|
cache->ReleaseRefAndUnlock();
|
||||||
|
DEBUG_PAGE_ACCESS_END(page);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_PAGE_ACCESS_START(page);
|
|
||||||
|
|
||||||
// Get the page active/modified flags and update the page's usage count.
|
// Get the page active/modified flags and update the page's usage count.
|
||||||
// We completely unmap inactive temporary pages. This saves us to
|
// We completely unmap inactive temporary pages. This saves us to
|
||||||
// iterate through the inactive list as well, since we'll be notified
|
// iterate through the inactive list as well, since we'll be notified
|
||||||
|
|||||||
Reference in New Issue
Block a user