VirtualBox

忽略:
時間撮記:
2011-3-23 上午10:22:22 (14 年 以前)
作者:
vboxsync
訊息:

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

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • 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"));
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette