VirtualBox

Changeset 36359 in vbox


Ignore:
Timestamp:
Mar 23, 2011 10:22:22 AM (14 years ago)
Author:
vboxsync
Message:

Linux/Additions/sharedfolders: don't use GFP_HIGHUSER if we pass virtual addresses to HGCM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/regops.c

    r33540 r36359  
    473473#endif
    474474
    475     page = alloc_page(GFP_HIGHUSER);
     475    /* Don't use GFP_HIGHUSER as long as sf_reg_read_aux() calls vboxCallRead()
     476     * which works on virtual addresses. On Linux cannot reliably determine the
     477     * physical address for high memory, see rtR0MemObjNativeLockKernel(). */
     478    page = alloc_page(GFP_USER);
    476479    if (!page) {
    477480        LogRelFunc(("failed to allocate page\n"));
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