VirtualBox

Changeset 15717 in vbox for trunk


Ignore:
Timestamp:
Dec 22, 2008 2:56:10 PM (16 years ago)
Author:
vboxsync
Message:

iprt/memobj.h: added a @remark concerning RTR0MemObjLockUser on Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/memobj.h

    r14824 r15717  
    151151 *
    152152 * @remark  RTR0MemGetAddressR3() and RTR0MemGetAddress() will return the rounded down address.
     153 * @remark  On Linux, this should never be used on heap memory, as pages locked down in this
     154 *          way will be missing from the child's virtual address space after a fork() call.  This
     155 *          is currently irreversible, and applies even if the fork takes place after the virtual
     156 *          memory has been unlocked again.
    153157 */
    154158RTR0DECL(int) RTR0MemObjLockUser(PRTR0MEMOBJ pMemObj, RTR3PTR R3Ptr, size_t cb, RTR0PROCESS R0Process);
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