VirtualBox

Changeset 16098 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 20, 2009 7:22:12 PM (16 years ago)
Author:
vboxsync
Message:

Linux hostif: reduced the size of exec memory heap to one page (4096).

File:
1 edited

Legend:

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

    r16079 r16098  
    127127 * Memory for the executable memory heap (in IPRT).
    128128 */
    129 extern uint8_t g_abExecMemory[1572864]; /* 1.5 MB */
     129extern uint8_t g_abExecMemory[4096]; /* cannot donate less than one page */
    130130__asm__(".section execmemory, \"awx\", @progbits\n\t"
    131131        ".align 32\n\t"
    132132        ".globl g_abExecMemory\n"
    133133        "g_abExecMemory:\n\t"
    134         ".zero 1572864\n\t"
     134        ".zero 4096\n\t"
    135135        ".type g_abExecMemory, @object\n\t"
    136         ".size g_abExecMemory, 1572864\n\t"
     136        ".size g_abExecMemory, 4096\n\t"
    137137        ".text\n\t");
    138138#endif
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