No wonder the page writer sucked so many cycles: the PageCacheLocker constructor

did not propagate the "dontWait" argument, letting the page writer never wait
for its pages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22860 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-11-08 15:24:27 +00:00
parent 9edc2b526f
commit 3af0509ddb
+1 -1
View File
@@ -31,7 +31,7 @@ PageCacheLocker::PageCacheLocker(vm_page* page, bool dontWait)
:
fPage(NULL)
{
Lock(page);
Lock(page, dontWait);
}