VirtualBox

Changeset 41082 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Apr 27, 2012 12:11:51 PM (13 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/linux: PhysHighest is inclusive, highest permittable physical address as per memobj.h spec. for RTR0MemObjAllocPhys() and RTR0MemObjAllocPhysNC().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c

    r39808 r41082  
    679679        size_t iPage = pMemLnx->cPages;
    680680        while (iPage-- > 0)
    681             if (page_to_phys(pMemLnx->apPages[iPage]) >= PhysHighest)
     681            if (page_to_phys(pMemLnx->apPages[iPage]) > PhysHighest)
    682682            {
    683683                rtR0MemObjLinuxFreePages(pMemLnx);
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