Eliminate another unnecessary call to vm_page_busy() that immediately

precedes a call to vm_page_rename().  (See the previous revision for a
detailed explanation.)
This commit is contained in:
alc 2004-11-05 05:40:45 +00:00
parent ac9cf04ce1
commit 96eb8f832a

View File

@ -1314,7 +1314,6 @@ vm_object_split(vm_map_entry_t entry)
VM_OBJECT_LOCK(orig_object);
goto retry;
}
vm_page_busy(m);
vm_page_rename(m, new_object, idx);
/* page automatically made dirty by rename and cache handled */
vm_page_busy(m);