VirtualBox

Changeset 86056 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Sep 7, 2020 8:07:22 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140269
Message:

Back out r140215 which is not required anymore, bugref:9004#c72

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/NEMAllNativeTemplate-win.cpp.h

    r86018 r86056  
    40394039    for (unsigned iLoop = 0;; iLoop++)
    40404040    {
    4041 //# ifndef NEM_WIN_USE_HYPERCALLS_FOR_PAGES
     4041# ifndef NEM_WIN_USE_HYPERCALLS_FOR_PAGES
    40424042        /*
    40434043         * Hack alert!
    40444044         */
    40454045        uint32_t const cMappedPages = pVM->nem.s.cMappedPages;
    4046         if (   cMappedPages >= pVM->nem.s.cMappedPagesMaxBeforeUnmap
    4047             && pVM->nem.s.cMappedPagesMaxBeforeUnmap != 0)
     4046        if (cMappedPages >= 4000)
    40484047        {
    40494048            PGMPhysNemEnumPagesByState(pVM, pVCpu, NEM_WIN_PAGE_STATE_READABLE, nemHCWinUnmapOnePageCallback, NULL);
    40504049            Log(("nemHCWinRunGC: Unmapped all; cMappedPages=%u -> %u\n", cMappedPages, pVM->nem.s.cMappedPages));
    40514050        }
    4052 //# endif
     4051# endif
    40534052
    40544053        /*
Note: See TracChangeset for help on using the changeset viewer.

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