ASSERT() that there really aren't any wired pages.

This commit is contained in:
Michael Lotz 2011-12-11 17:00:23 +01:00
parent af09f123d3
commit 6ef7d359c7

View File

@ -2363,6 +2363,8 @@ vm_copy_on_write_area(VMCache* lowerCache,
}
}
} else {
ASSERT(lowerCache->WiredPagesCount() == 0);
// just change the protection of all areas
for (VMArea* tempArea = upperCache->areas; tempArea != NULL;
tempArea = tempArea->cache_next) {