VirtualBox

Changeset 1838 in vbox


Ignore:
Timestamp:
Mar 30, 2007 6:16:07 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20025
Message:

speed.

File:
1 edited

Legend:

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

    r1828 r1838  
    717717        }
    718718
    719         /* Get the current privilege level. */
    720         uint32_t cpl = CPUMGetGuestCPL(pVM, pRegFrame);
    721 
    722719        /*
    723720         * Windows is frequently doing small memset() operations (netio test 4k+).
    724721         * We have to deal with these or we'll kill the cache and performance.
    725722         */
    726 
    727723        if (    Cpu.pCurInstr->opcode == OP_STOSWD
    728             &&  cpl == 0
     724            &&  CPUMGetGuestCPL(pVM, pRegFrame) == 0
    729725            &&  pRegFrame->ecx <= 0x20
    730726            &&  pRegFrame->ecx * 4 <= PAGE_SIZE - ((uintptr_t)pvFault & PAGE_OFFSET_MASK)
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