Convert a remaining !fs.map->system_map to
fs.first_object->flags & OBJ_NEEDGIANT test that was missed in an earlier revision. This fixes mutex assertion failures in the debug.mpsafevm=0 case. Reported by: ps MFC after: 3 days
This commit is contained in:
parent
fd4e475233
commit
b9d3b80521
@ -399,7 +399,7 @@ RetryFault:;
|
|||||||
vm_object_pip_wakeup(fs.object);
|
vm_object_pip_wakeup(fs.object);
|
||||||
VM_OBJECT_UNLOCK(fs.object);
|
VM_OBJECT_UNLOCK(fs.object);
|
||||||
atomic_add_int(&cnt.v_intrans, 1);
|
atomic_add_int(&cnt.v_intrans, 1);
|
||||||
if (!fs.map->system_map)
|
if (fs.first_object->flags & OBJ_NEEDGIANT)
|
||||||
VM_UNLOCK_GIANT();
|
VM_UNLOCK_GIANT();
|
||||||
vm_object_deallocate(fs.first_object);
|
vm_object_deallocate(fs.first_object);
|
||||||
goto RetryFault;
|
goto RetryFault;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user