rem: mutex_unlock(&cacheRef->lock);
context: vm_cache_resize(vm_cache_ref *cacheRef, size_t newSize){	vm_cache *cache = cacheRef->cache;	size_t oldSize;	// ToDo: only cache's with an anonymous memory store should be resizable!	if (!cache->temporary)		return B_NOT_ALLOWED;	mutex_lock(&cacheRef->lock);	oldSize = cache->virtual_size;	if (newSize < oldSize) {		// we need to remove all pages in the cache outside of the new virtual size		vm_page *page, *next;		for (page = cache->page_list; page; page = next) {			next = page->cache_next;			if (page->offset >= newSize) {				// remove the page and put it into the free queue				vm_cache_remove_page(cacheRef, page);				vm_page_set_state(page, PAGE_STATE_FREE);			}		}	}	cache->virtual_size = newSize;	mutex_unlock(&cacheRef->lock);	vm_increase_max_commit(oldSize - newSize);	return B_OK;}