VirtualBox

Changeset 85505 in vbox for trunk/src


Ignore:
Timestamp:
Jul 29, 2020 10:03:29 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139571
Message:

IPRT/alloc-r0drv-linux.c,SUPDrv-linux.c: RTMEMALLOC_EXEC_HEAP for 5.8+ (more on this later as it doesn't really work). bugref:9801

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c

    r85431 r85505  
    145145 */
    146146# ifdef DEBUG
     147#  define EXEC_MEMORY_SIZE   10485760   /* 10 MB */
     148# else
    147149#  define EXEC_MEMORY_SIZE   8388608    /* 8 MB */
    148 # else
    149 #  define EXEC_MEMORY_SIZE   2097152    /* 2 MB */
    150150# endif
    151151extern uint8_t g_abExecMemory[EXEC_MEMORY_SIZE];
  • trunk/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c

    r82968 r85505  
    3939
    4040#if (defined(RT_ARCH_AMD64) || defined(DOXYGEN_RUNNING)) && !defined(RTMEMALLOC_EXEC_HEAP)
    41 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23)
     41# if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23) && LINUX_VERSION_CODE < KERNEL_VERSION(5, 8, 0)
    4242/**
    4343 * Starting with 2.6.23 we can use __get_vm_area and map_vm_area to allocate
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette