summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/uvm/uvm_map.c')
-rw-r--r--sys/uvm/uvm_map.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c
index 6cb8b05acea..ab114029180 100644
--- a/sys/uvm/uvm_map.c
+++ b/sys/uvm/uvm_map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_map.c,v 1.287 2022/02/14 21:11:02 kn Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.288 2022/02/15 11:54:19 kn Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
@@ -3681,9 +3681,7 @@ uvmspace_free(struct vmspace *vm)
shmexit(vm);
#endif
- vm_map_lock(&vm->vm_map);
uvm_map_teardown(&vm->vm_map);
- vm_map_unlock(&vm->vm_map);
pool_put(&uvm_vmspace_pool, vm);
}
}