VirtualBox

Changeset 46663 in vbox


Ignore:
Timestamp:
Jun 19, 2013 2:44:28 PM (12 years ago)
Author:
vboxsync
Message:

Runtime/r0drv/linux: numa hack

File:
1 edited

Legend:

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

    r44528 r46663  
    15281528            }
    15291529
     1530#ifdef CONFIG_NUMA_BALANCING
     1531            if (RT_SUCCESS(rc))
     1532            {
     1533                /** @todo Ugly hack! But right now we have no other means to disable
     1534                 *        automatic NUMA page balancing. */
     1535# ifdef RT_OS_X86
     1536                pTask->mm->numa_next_reset = jiffies + 0x7fffffffUL;
     1537                pTask->mm->numa_next_scan  = jiffies + 0x7fffffffUL;
     1538# else
     1539                pTask->mm->numa_next_reset = jiffies + 0x7fffffffffffffffUL;
     1540                pTask->mm->numa_next_scan  = jiffies + 0x7fffffffffffffffUL;
     1541# endif
     1542            }
     1543#endif
     1544
    15301545            up_write(&pTask->mm->mmap_sem);
    15311546
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