Author: bonefish Date: 2010-02-20 18:24:14 +0100 (Sat, 20 Feb 2010) New Revision: 35542 Changeset: http://dev.haiku-os.org/changeset/35542/haiku Modified: haiku/trunk/src/system/kernel/vm/vm_page.cpp Log: idle_scan_active_pages(): vm_page_requeue() requires the caller to mark the page accessed for the access debugging feature. Modified: haiku/trunk/src/system/kernel/vm/vm_page.cpp =================================================================== --- haiku/trunk/src/system/kernel/vm/vm_page.cpp 2010-02-20 17:17:22 UTC (rev 35541) +++ haiku/trunk/src/system/kernel/vm/vm_page.cpp 2010-02-20 17:24:14 UTC (rev 35542) @@ -2104,15 +2104,16 @@ continue; } + DEBUG_PAGE_ACCESS_START(page); + if (page->busy) { // page is busy -- requeue at the end vm_page_requeue(page, true); cache->ReleaseRefAndUnlock(); + DEBUG_PAGE_ACCESS_END(page); continue; } - DEBUG_PAGE_ACCESS_START(page); - // Get the page active/modified flags and update the page's usage count. // We completely unmap inactive temporary pages. This saves us to // iterate through the inactive list as well, since we'll be notified