--- Net2/vm/vm_fault.c 2018/04/24 18:03:57 1.1.1.1 +++ Net2/vm/vm_fault.c 2018/04/24 18:04:41 1.1.1.2 @@ -62,6 +62,8 @@ * rights to redistribute these changes. */ +static char rcsid[] = "$Header: /var/lib/cvsd/net2/Net2/vm/vm_fault.c,v 1.1.1.2 2018/04/24 18:04:41 root Exp $"; + /* * Page fault handling module. */ @@ -253,6 +255,7 @@ vm_fault(map, vaddr, fault_type, change_ #else PAGE_ASSERT_WAIT(m, !change_wiring); UNLOCK_THINGS; +thread_wakeup(&vm_pages_needed); /* XXX! */ thread_block(); vm_object_deallocate(first_object); goto RetryFault; @@ -288,6 +291,7 @@ vm_fault(map, vaddr, fault_type, change_ PAGE_ASSERT_WAIT(m, !change_wiring); UNLOCK_THINGS; +thread_wakeup(&vm_pages_needed); /* XXX */ thread_block(); vm_object_deallocate(first_object); goto RetryFault; @@ -637,6 +641,7 @@ vm_fault(map, vaddr, fault_type, change_ copy_object->ref_count--; vm_object_unlock(copy_object); UNLOCK_THINGS; +thread_wakeup(&vm_pages_needed); /* XXX */ thread_block(); vm_object_deallocate(first_object); goto RetryFault;