mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 14:29:28 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148014
@ -399,7 +399,7 @@ RetryFault:;
|
||||
vm_object_pip_wakeup(fs.object);
|
||||
VM_OBJECT_UNLOCK(fs.object);
|
||||
atomic_add_int(&cnt.v_intrans, 1);
|
||||
if (!fs.map->system_map)
|
||||
if (fs.first_object->flags & OBJ_NEEDGIANT)
|
||||
VM_UNLOCK_GIANT();
|
||||
vm_object_deallocate(fs.first_object);
|
||||
goto RetryFault;
|
||||
|
Loading…
Reference in New Issue
Block a user