Added assert in free_page().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35533 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
211c63df5a
commit
477fd1be55
@ -970,6 +970,8 @@ free_page(vm_page* page, bool clear)
|
||||
{
|
||||
DEBUG_PAGE_ACCESS_CHECK(page);
|
||||
|
||||
ASSERT(!page->IsMapped());
|
||||
|
||||
VMPageQueue* fromQueue;
|
||||
|
||||
switch (page->state) {
|
||||
|
Loading…
Reference in New Issue
Block a user