VirtualBox

Ignore:
Timestamp:
Nov 6, 2021 3:40:52 AM (3 years ago)
Author:
vboxsync
Message:

IPRT/RTR0MemObj: Added RTR0MemObjWasZeroInitialized and a couple of flags with which the backend can feed it the necessary info. It would be good to try avoid zeroing memory twice when we can. bugref:10093

File:
1 edited

Legend:

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

    r92246 r92247  
    344344    return (pMem->fFlags & (RTR0MEMOBJ_FLAGS_ZERO_AT_ALLOC | RTR0MEMOBJ_FLAGS_UNINITIALIZED_AT_ALLOC))
    345345        ==                  RTR0MEMOBJ_FLAGS_ZERO_AT_ALLOC;
    346 
    347346}
    348347RT_EXPORT_SYMBOL(RTR0MemObjWasZeroInitialized);
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