* page_writer(): Missing continue in the temporary skipping case.

* vm_page_write_modified_page_range(): Need to DEBUG_PAGE_ACCESS_END() a bit
  later.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35487 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-02-15 23:01:31 +00:00
parent 4322b983cd
commit 22fb471ff0

View File

@ -1792,6 +1792,7 @@ page_writer(void* /*unused*/)
set_page_state(page, PAGE_STATE_ACTIVE);
DEBUG_PAGE_ACCESS_END(page);
continue;
}
// We need our own reference to the store, as it might currently be
@ -2504,17 +2505,19 @@ vm_page_write_modified_page_range(struct VMCache* cache, uint32 firstPage,
wrapper->SetTo(page);
DEBUG_PAGE_ACCESS_END(page);
if (transferEmpty || transfer.AddPage(page)) {
if (transferEmpty) {
transfer.SetTo(NULL, page, maxPages);
transferEmpty = false;
}
DEBUG_PAGE_ACCESS_END(page);
wrappers[usedWrappers++] = wrapper;
continue;
}
DEBUG_PAGE_ACCESS_END(page);
}
if (transferEmpty)