diff options
author | alc <alc@FreeBSD.org> | 2004-01-02 19:57:45 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-01-02 19:57:45 +0000 |
commit | 343d2552f54ad9e644354eccfbb2d1dff9e0ee43 (patch) | |
tree | 6af7392732ad93e83a8bdc44bfc8cc083c876ebd /sys/vm | |
parent | fca40d687b8eef583db0b854cd6840658ee9ec54 (diff) | |
download | FreeBSD-src-343d2552f54ad9e644354eccfbb2d1dff9e0ee43.zip FreeBSD-src-343d2552f54ad9e644354eccfbb2d1dff9e0ee43.tar.gz |
Revision 1.74 of vm_meter.c ("Avoid lock-order reversal") makes the release
and subsequent reacquisition of the same vm object lock in
vm_object_collapse() unnecessary.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_object.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 43e3371..25703df 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -1662,7 +1662,6 @@ vm_object_collapse(vm_object_t object) object->backing_object = backing_object->backing_object; object->backing_object_offset += backing_object->backing_object_offset; -/* XXX */ VM_OBJECT_UNLOCK(object); /* * Discard backing_object. @@ -1682,7 +1681,6 @@ vm_object_collapse(vm_object_t object) ); mtx_unlock(&vm_object_list_mtx); -/* XXX */ VM_OBJECT_LOCK(object); uma_zfree(obj_zone, backing_object); object_collapses++; |