VirtualBox

Ignore:
Timestamp:
Jan 10, 2017 6:17:45 PM (8 years ago)
Author:
vboxsync
Message:

tstContiguous: be less strict if tstContiguous fails on 32-bit hosts. The chance for fragmented kernel memory is much higher than on 64-bit hosts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/testcase/tstContiguous.cpp

    r62490 r65231  
    7373                    if (!apv[i])
    7474                    {
    75                         RTPrintf("tstContiguous: i=%d: failed to allocate %d pages\n", i, 1 + (i % 11));
    76                         rcRet++;
     75                        RTPrintf("tstContiguous: i=%d: failed to allocate %d pages", i, 1 + (i % 11));
     76#if defined(RT_ARCH_X86) && defined(RT_OS_LINUX)
     77                        /* With 32-bit address spaces it's sometimes difficult
     78                         * to find bigger chunks of contiguous memory */
     79                        if (i % 11 < 8)
     80                            RTPrintf(" => ignoring (32-bit host)");
     81                        else
     82#endif
     83                            rcRet++;
     84                        RTPrintf("\n");
    7785                    }
    7886                }
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