儲存庫 vbox 的更動 51938
- 時間撮記:
- 2014-7-8 下午05:24:17 (10 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r50077 r51938 1529 1529 1530 1530 #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 1531 1538 if (RT_SUCCESS(rc)) 1532 1539 { 1533 /** @todo Ugly hack! But right now we have no other means to disable1534 * automatic NUMA page balancing. */1540 /** @todo Ugly hack! But right now we have no other means to 1541 * disable automatic NUMA page balancing. */ 1535 1542 # ifdef RT_OS_X86 1536 # if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)1543 # ifdef VBOX_NUMA_HACK_OLD 1537 1544 pTask->mm->numa_next_reset = jiffies + 0x7fffffffUL; 1538 1545 # endif 1539 1546 pTask->mm->numa_next_scan = jiffies + 0x7fffffffUL; 1540 1547 # else 1541 # if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)1548 # ifdef VBOX_NUMA_HACK_OLD 1542 1549 pTask->mm->numa_next_reset = jiffies + 0x7fffffffffffffffUL; 1543 1550 # endif … … 1545 1552 # endif 1546 1553 } 1547 #endif 1554 #endif /* CONFIG_NUMA_BALANCING */ 1548 1555 1549 1556 up_write(&pTask->mm->mmap_sem);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器