VirtualBox

Changeset 20893 in vbox


Ignore:
Timestamp:
Jun 24, 2009 1:43:50 PM (15 years ago)
Author:
vboxsync
Message:

GMMR0: quick hack for windows issue (hope this doesn't blow up)...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/GMMR0.cpp

    r19454 r20893  
    15531553        /*
    15541554         * The memory is bound to the VM allocating it, so we have to count
    1555          * the free pages carefully as well as making sure we set brand it
    1556          * with our VM handle.
     1555         * the free pages carefully as well as making sure we brand them with
     1556         * our VM handle.
    15571557         *
    15581558         * Note! We will leave the mutex while doing the allocation,
     
    16981698     */
    16991699    PGMMCHUNKFREESET pSet = &pGMM->Private;
     1700#if 0 /** @todo this is broken, at least on windows... */
    17001701    if (pSet->cPages < cPages)
    17011702        return VERR_GMM_SEED_ME;
     1703#endif
    17021704    if (pGMM->fBoundMemoryMode)
    17031705    {
     
    17151717            return VERR_GMM_SEED_ME;
    17161718    }
     1719    else if (pSet->cPages < cPages) /* see #if 0 */
     1720        return VERR_GMM_SEED_ME;
    17171721
    17181722    /*
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