VirtualBox

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


Ignore:
Timestamp:
May 18, 2009 11:53:30 AM (16 years ago)
Author:
vboxsync
Message:

Only need stale TLB detection in ring 0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r19778 r19779  
    21802180                    return VINF_PGM_HANDLED_DIRTY_BIT_FAULT;
    21812181                }
     2182# ifdef IN_RING0
    21822183                else
    21832184                /* Check for stale TLB entry; only applies to the SMP guest case. */
     
    22032204                    }
    22042205                }
     2206# endif /* IN_RING0 */
    22052207            }
    22062208        }
     
    23182320                            return VINF_PGM_HANDLED_DIRTY_BIT_FAULT;
    23192321                        }
     2322# ifdef IN_RING0
    23202323                        else
    2321                         if (    pPteDst->n.u1Write == 1
     2324                        /* Check for stale TLB entry; only applies to the SMP guest case. */
     2325                        if (    pVM->cCPUs > 1
     2326                            &&  pPteDst->n.u1Write == 1
    23222327                            &&  pPteDst->n.u1Accessed == 1)
    23232328                        {
     
    23292334                            return VINF_PGM_HANDLED_DIRTY_BIT_FAULT;
    23302335                        }
     2336# endif
    23312337                    }
    23322338                }
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