--- src/sys/vm/vm_object.c 2007/06/08 02:00:47 1.31 +++ src/sys/vm/vm_object.c 2008/04/14 19:43:02 1.32 @@ -1605,12 +1605,15 @@ vm_object_page_remove_callback(vm_page_t /* * limit is our clean_only flag. If set and the page is dirty, do + * not free it. If set and the page is being held by someone, do * not free it. */ if (info->limit && p->valid) { vm_page_test_dirty(p); if (p->valid & p->dirty) return(0); + if (p->hold_count) + return(0); } /*