o Remove LK_CANRECURSE from the vm_map lock.

This commit is contained in:
Alan Cox 2002-06-18 18:31:35 +00:00
parent c3a1a84ac4
commit 515630b12f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98397

View File

@ -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);
}
/*