VirtualBox

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


Ignore:
Timestamp:
Aug 19, 2009 2:16:10 PM (15 years ago)
Author:
vboxsync
Message:

Make sure we don't kick out a page too quickly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r22348 r22349  
    11961196                 pPage->cLastAccessHandlerCount  = pVCpu->pgm.s.cPoolAccessHandler;
    11971197                 pPage->pvLastAccessHandlerRip   = pRegFrame->rip;
     1198                 /* Make sure we don't kick out a page too quickly. */
     1199                 if (pPage->cModifications > 8)
     1200                     pPage->cModifications = 2;
    11981201             }
    11991202             else
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