VirtualBox

儲存庫 vbox 的更動 51938


忽略:
時間撮記:
2014-7-8 下午05:24:17 (10 年 以前)
作者:
vboxsync
訊息:

Runtime/r0drv: RHEL7 hack

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c

    r50077 r51938  
    15291529
    15301530#ifdef CONFIG_NUMA_BALANCING
     1531# if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
     1532#  ifdef RHEL_RELEASE_CODE
     1533#   if RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(7, 0)
     1534#    define VBOX_NUMA_HACK_OLD
     1535#   endif
     1536#  endif
     1537# endif
    15311538            if (RT_SUCCESS(rc))
    15321539            {
    1533                 /** @todo Ugly hack! But right now we have no other means to disable
    1534                  *        automatic NUMA page balancing. */
     1540                /** @todo Ugly hack! But right now we have no other means to
     1541                 *        disable automatic NUMA page balancing. */
    15351542# ifdef RT_OS_X86
    1536 #  if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
     1543#  ifdef VBOX_NUMA_HACK_OLD
    15371544                pTask->mm->numa_next_reset = jiffies + 0x7fffffffUL;
    15381545#  endif
    15391546                pTask->mm->numa_next_scan  = jiffies + 0x7fffffffUL;
    15401547# else
    1541 #  if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
     1548#  ifdef VBOX_NUMA_HACK_OLD
    15421549                pTask->mm->numa_next_reset = jiffies + 0x7fffffffffffffffUL;
    15431550#  endif
     
    15451552# endif
    15461553            }
    1547 #endif
     1554#endif /* CONFIG_NUMA_BALANCING */
    15481555
    15491556            up_write(&pTask->mm->mmap_sem);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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