]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/vm/vm_compressor_backing_store.c
xnu-4570.71.2.tar.gz
[apple/xnu.git] / osfmk / vm / vm_compressor_backing_store.c
index 4a2eb0feabcf3b4813eaef61d46d15cc753e1aef..f4ec70ce5747307fd048635d1bcc9971d300644a 100644 (file)
@@ -1337,6 +1337,10 @@ retry:
        return KERN_FAILURE;
 
 done:  
+       assert(c_seg->c_busy_swapping);
+       assert(c_seg->c_busy);
+       assert(!c_seg->c_on_minorcompact_q);
+
        error = vm_swapfile_io(swf->swp_vp, file_offset, addr, (int) (size / PAGE_SIZE_64), SWAP_WRITE);
 
        lck_mtx_lock(&vm_swap_data_lock);