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:
parent
f52188fc8a
commit
b546ac5490
@ -1314,7 +1314,6 @@ vm_object_split(vm_map_entry_t entry)
|
|||||||
VM_OBJECT_LOCK(orig_object);
|
VM_OBJECT_LOCK(orig_object);
|
||||||
goto retry;
|
goto retry;
|
||||||
}
|
}
|
||||||
vm_page_busy(m);
|
|
||||||
vm_page_rename(m, new_object, idx);
|
vm_page_rename(m, new_object, idx);
|
||||||
/* page automatically made dirty by rename and cache handled */
|
/* page automatically made dirty by rename and cache handled */
|
||||||
vm_page_busy(m);
|
vm_page_busy(m);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user