ASSERT() that there really aren't any wired pages.
This commit is contained in:
@@ -2363,6 +2363,8 @@ vm_copy_on_write_area(VMCache* lowerCache,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
ASSERT(lowerCache->WiredPagesCount() == 0);
|
||||||
|
|
||||||
// just change the protection of all areas
|
// just change the protection of all areas
|
||||||
for (VMArea* tempArea = upperCache->areas; tempArea != NULL;
|
for (VMArea* tempArea = upperCache->areas; tempArea != NULL;
|
||||||
tempArea = tempArea->cache_next) {
|
tempArea = tempArea->cache_next) {
|
||||||
|
|||||||
Reference in New Issue
Block a user