VirtualBox

Ignore:
Timestamp:
Oct 1, 2019 7:29:03 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133707
Message:

IPRT,SUP,*: Increased RTCPUSET_MAX_CPUS to 1024 for AMD64, except for darwin, and reduced the OS/2 CPU count to 64. Implies GIP and SUPDrv version bump. bugref:9501

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/mp-win.cpp

    r76553 r81096  
    119119static uint32_t volatile g_cRtMpWinActiveCpus;
    120120/** Static per group info.
    121  * @remarks  With RTCPUSET_MAX_CPUS as 256, this takes up 33KB.
     121 * @remarks  With 256 entries this takes up 33KB.
    122122 * @sa g_aRtMpNtCpuGroups */
    123123static struct
     
    129129    /** CPU set indexes for each CPU in the group. */
    130130    int16_t     aidxCpuSetMembers[64];
    131 }                   g_aRtMpWinCpuGroups[RTCPUSET_MAX_CPUS];
     131}                   g_aRtMpWinCpuGroups[256];
    132132/** Maps CPU set indexes to RTCPUID.
    133133 * @sa g_aidRtMpNtByCpuSetIdx  */
     
    193193        SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX     Info;
    194194        uint8_t                                     abPaddingG[  sizeof(SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX)
    195                                                                + sizeof(PROCESSOR_GROUP_INFO) * RTCPUSET_MAX_CPUS];
     195                                                               + sizeof(PROCESSOR_GROUP_INFO) * 256];
    196196        uint8_t                                     abPaddingC[  sizeof(SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX)
    197197                                                               +   (sizeof(PROCESSOR_RELATIONSHIP) + sizeof(GROUP_AFFINITY))
Note: See TracChangeset for help on using the changeset viewer.

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