Fixed two instances of debug code I missed to adjust in r35004. Fixes #5242.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35020 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a16d0e47d8
commit
9c6720c064
@ -843,8 +843,8 @@ page_scrubber(void *unused)
|
||||
// and put them into the clear queue
|
||||
for (int32 i = 0; i < scrubCount; i++) {
|
||||
page[i]->state = PAGE_STATE_CLEAR;
|
||||
sClearPageQueue.PrependUnlocked(page[i]);
|
||||
DEBUG_PAGE_ACCESS_END(page[i]);
|
||||
sClearPageQueue.PrependUnlocked(page[i]);
|
||||
}
|
||||
|
||||
locker.Unlock();
|
||||
@ -1607,8 +1607,8 @@ steal_pages(vm_page **pages, size_t count)
|
||||
if (steal_page(page)) {
|
||||
ReadLocker locker(sFreePageQueuesLock);
|
||||
page->state = PAGE_STATE_FREE;
|
||||
sFreePageQueue.PrependUnlocked(page);
|
||||
DEBUG_PAGE_ACCESS_END(page);
|
||||
sFreePageQueue.PrependUnlocked(page);
|
||||
locker.Unlock();
|
||||
|
||||
atomic_add(&sUnreservedFreePages, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user