summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-11-05 05:40:45 +0000
committeralc <alc@FreeBSD.org>2004-11-05 05:40:45 +0000
commit96eb8f832a1dfbaf14980db6bc256d7c8f95f623 (patch)
tree76f41e5273ce304106cda6b90faf2efae82ef28f /sys/vm
parentac9cf04ce1ebcedbdfb9943c73b99b2daf980402 (diff)
downloadFreeBSD-src-96eb8f832a1dfbaf14980db6bc256d7c8f95f623.zip
FreeBSD-src-96eb8f832a1dfbaf14980db6bc256d7c8f95f623.tar.gz
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.)
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_object.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index ebb3c03..3a28325 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -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);
OpenPOWER on IntegriCloud