VirtualBox

Ignore:
Timestamp:
Sep 28, 2021 7:53:25 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147129
Message:

IPRT/memobj: Adding RTR0MemObjAllocLarge for speeding up large page allocations. bugref:5324

File:
1 edited

Legend:

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

    r82968 r91446  
    230230}
    231231
     232
    232233DECLHIDDEN(int) rtR0MemObjNativeAllocPage(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, bool fExecutable)
    233234{
     
    252253    *ppMem = &pMemNetBSD->Core;
    253254    return VINF_SUCCESS;
     255}
     256
     257
     258DECLHIDDEN(int) rtR0MemObjNativeAllocLarge(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, size_t cbLargePage, uint32_t fFlags,
     259                                           const char *pszTag)
     260{
     261    return rtR0MemObjFallbackAllocLarge(ppMem, cb, cbLargePage, fFlags, pszTag);
    254262}
    255263
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