VirtualBox

Changeset 35603 in vbox for trunk/src


Ignore:
Timestamp:
Jan 18, 2011 11:38:21 AM (14 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/linux/memobj: try a bit harder to allocate a page, otherwise we might fail too early (xtracker 5486)

File:
1 edited

Legend:

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

    r35165 r35603  
    199199     if (cPages > 255)
    200200     {
    201 # ifdef __GFP_NORETRY
    202         /* Not available in Linux 2.4.0 */
    203         fFlagsLnx |= __GFP_NORETRY;
     201# ifdef __GFP_REPEAT
     202         /* Try hard to allocate the memory, but the allocation attempt might fail. */
     203        fFlagsLnx |= __GFP_REPEAT;
    204204# endif
    205205# ifdef __GFP_NOMEMALLOC
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