VirtualBox

Changeset 94319 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Mar 21, 2022 11:40:13 PM (3 years ago)
Author:
vboxsync
Message:

VMM/PDMBlockCache: Added missing sempahore release call to a infrequent pdmBlkCacheEvictPagesFrom code path handling a race. ticketref:20875

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMBlkCache.cpp

    r93115 r94319  
    461461                    RTMemFree(pCurr);
    462462                }
     463            }
     464            else
     465            {
     466                LogFlow(("Someone raced us, entry %#p (%u bytes) cannot be evicted any more (fFlags=%#x cRefs=%#x)\n",
     467                         pCurr, pCurr->cbData, pCurr->fFlags, pCurr->cRefs));
     468                RTSemRWReleaseWrite(pBlkCache->SemRWEntries);
    463469            }
    464470
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette