VirtualBox

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


Ignore:
Timestamp:
Aug 5, 2009 12:37:29 PM (15 years ago)
Author:
vboxsync
Message:

PGMPhys.cpp: Point out VMMR0_DO_GMM_MAP_UNMAP_CHUNK bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r20874 r21993  
    29362936    if (pVM->pgm.s.ChunkR3Map.c >= pVM->pgm.s.ChunkR3Map.cMax)
    29372937        Req.idChunkUnmap = pgmR3PhysChunkFindUnmapCandidate(pVM);
     2938/** @todo This is wrong. Any thread in the VM process should be able to do this,
     2939 *        there are depenenecies on this.  What currently saves the day is that
     2940 *        we don't unmap anything and that all non-zero memory will therefore
     2941 *        be present when non-EMTs tries to access it.  */
    29382942    rc = VMMR3CallR0(pVM, VMMR0_DO_GMM_MAP_UNMAP_CHUNK, 0, &Req.Hdr);
    29392943    if (RT_SUCCESS(rc))
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