diff options
author | alc <alc@FreeBSD.org> | 2002-06-18 18:31:35 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-06-18 18:31:35 +0000 |
commit | 40c2764a67aefef8b7cd7b4637e4907b21c17a9d (patch) | |
tree | 2b670e155544b9d38f70e7f29dcf7e3341e13a89 /sys | |
parent | 85a92e54f0b53c90b688f1f877c7c38a4d7e6f86 (diff) | |
download | FreeBSD-src-40c2764a67aefef8b7cd7b4637e4907b21c17a9d.zip FreeBSD-src-40c2764a67aefef8b7cd7b4637e4907b21c17a9d.tar.gz |
o Remove LK_CANRECURSE from the vm_map lock.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 4453b72..85c5392 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -206,7 +206,7 @@ vm_map_zinit(void *mem, int size) map->nentries = 0; map->size = 0; map->infork = 0; - lockinit(&map->lock, PVM, "thrd_sleep", 0, LK_CANRECURSE | LK_NOPAUSE); + lockinit(&map->lock, PVM, "thrd_sleep", 0, LK_NOPAUSE); } #ifdef INVARIANTS @@ -493,7 +493,7 @@ void vm_map_init(vm_map_t map, vm_offset_t min, vm_offset_t max) { _vm_map_init(map, min, max); - lockinit(&map->lock, PVM, "thrd_sleep", 0, LK_CANRECURSE | LK_NOPAUSE); + lockinit(&map->lock, PVM, "thrd_sleep", 0, LK_NOPAUSE); } /* |