Fix a reference problem with maps. Only appears to manifest itself when
sharing address spaces.
This commit is contained in:
parent
c88fdb1d1d
commit
dbc806e731
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26667
@ -61,7 +61,7 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_map.c,v 1.75 1997/04/07 07:16:05 peter Exp $
|
||||
* $Id: vm_map.c,v 1.76 1997/04/13 01:48:35 dyson Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -2454,8 +2454,12 @@ RetryLookup:;
|
||||
|
||||
if (lockmgr(&share_map->lock, LK_EXCLUPGRADE,
|
||||
(void *)0, curproc)) {
|
||||
|
||||
vm_map_unlock_read(map);
|
||||
|
||||
if (share_map != map)
|
||||
vm_map_unlock_read(map);
|
||||
|
||||
goto RetryLookup;
|
||||
}
|
||||
vm_object_shadow(
|
||||
|
Loading…
Reference in New Issue
Block a user