1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

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:
Alan Cox 2004-11-05 05:40:45 +00:00
parent f52188fc8a
commit b546ac5490
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137242

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);