VirtualBox

Ignore:
Timestamp:
Aug 27, 2009 3:17:53 PM (15 years ago)
Author:
vboxsync
Message:

IPRT/r0drv/Linux: fixed comments about allocations

File:
1 edited

Legend:

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

    r22508 r22531  
    240240    cOrder = CalcPowerOf2Order(cPages);
    241241#if (defined(RT_ARCH_AMD64) || defined(CONFIG_X86_PAE)) && defined(GFP_DMA32)
     242    /* ZONE_DMA32: 0-4GB */
    242243    paPages = alloc_pages(GFP_DMA32, cOrder);
    243244    if (!paPages)
    244245#endif
    245246#ifdef RT_ARCH_AMD64
     247        /* ZONE_DMA; 0-16MB */
    246248        paPages = alloc_pages(GFP_DMA, cOrder);
    247249#else
    248 # if defined(CONFIG_X86_PAE)
    249     /** GFP_USER can return page frames above 4GB on PAE systems => GFP_DMA? */
    250 # endif
     250        /* ZONE_NORMAL: 0-896MB */
    251251        paPages = alloc_pages(GFP_USER, cOrder);
    252252#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