VirtualBox

Changeset 15718 in vbox for trunk/include


Ignore:
Timestamp:
Dec 22, 2008 3:49:25 PM (16 years ago)
Author:
vboxsync
Message:

RTR0MemObjLockUser: Replaced the warnings with more useful information.

File:
1 edited

Legend:

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

    r15717 r15718  
    150150 * @param   R0Process       The process to lock pages in. NIL_R0PROCESS is an alias for the current one.
    151151 *
    152  * @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.
     152 * @remarks RTR0MemGetAddressR3() and RTR0MemGetAddress() will return therounded
     153 *          down address.
     154 * @remarks Linux: This API requires that the memory begin locked is in a memory
     155 *          mapping that is not required in any forked off child process. This
     156 *          is not intented as permanent restriction, feel free to help out
     157 *          lifting it.
    157158 */
    158159RTR0DECL(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