VirtualBox

Changeset 85523 in vbox for trunk


Ignore:
Timestamp:
Jul 29, 2020 11:54:52 AM (4 years ago)
Author:
vboxsync
Message:

SUPDrv/linux: Use two combined-agnostic.c files to undo the build time regression on systems with lots of cores. bugref:9798

Location:
trunk/src/VBox/HostDrivers/Support/linux
Files:
2 edited
1 copied
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r85521 r85523  
    4444ifndef VBOX_WITHOUT_COMBINED_SOURCES
    4545VBOXMOD_OBJS += \
    46         combined-agnostic.o \
     46        combined-agnostic1.o \
     47        combined-agnostic2.o \
    4748        combined-os-specific.o
    4849else  # VBOX_WITHOUT_COMBINED_SOURCES
  • trunk/src/VBox/HostDrivers/Support/linux/combined-agnostic1.c

    r85522 r85523  
    8585#undef LOG_GROUP
    8686#include "common/misc/thread.c"
    87 #undef LOG_GROUP
    88 #include "common/string/RTStrCat.c"
    89 #undef LOG_GROUP
    90 #include "common/string/RTStrCopy.c"
    91 #undef LOG_GROUP
    92 #include "common/string/RTStrCopyEx.c"
    93 #undef LOG_GROUP
    94 #include "common/string/RTStrCopyP.c"
    95 #undef LOG_GROUP
    96 #include "common/string/RTStrEnd.c"
    97 #undef LOG_GROUP
    98 #include "common/string/RTStrNCmp.c"
    99 #undef LOG_GROUP
    100 #include "common/string/RTStrNLen.c"
    101 #undef LOG_GROUP
    102 #include "common/string/stringalloc.c"
    103 #undef LOG_GROUP
    104 #include "common/string/strformat.c"
    105 #undef LOG_GROUP
    106 #include "common/string/strformatnum.c"
    107 #undef LOG_GROUP
    108 #include "common/string/strformattype.c"
    109 #undef LOG_GROUP
    110 #include "common/string/strprintf.c"
    111 #undef LOG_GROUP
    112 #include "common/string/strtonum.c"
    113 #undef LOG_GROUP
    114 #include "common/table/avlpv.c"
    115 #undef LOG_GROUP
    116 #include "common/time/time.c"
    117 #undef LOG_GROUP
    118 #include "generic/RTAssertShouldPanic-generic.c"
    119 #undef LOG_GROUP
    120 #include "generic/RTLogWriteStdErr-stub-generic.c"
    121 #undef LOG_GROUP
    122 #include "generic/RTLogWriteStdOut-stub-generic.c"
    123 #undef LOG_GROUP
    124 #include "generic/RTLogWriteUser-generic.c"
    125 #undef LOG_GROUP
    126 #include "generic/RTMpGetArraySize-generic.c"
    127 #undef LOG_GROUP
    128 #include "generic/RTMpGetCoreCount-generic.c"
    129 #undef LOG_GROUP
    130 #include "generic/RTSemEventWait-2-ex-generic.c"
    131 #undef LOG_GROUP
    132 #include "generic/RTSemEventWaitNoResume-2-ex-generic.c"
    133 #undef LOG_GROUP
    134 #include "generic/RTSemEventMultiWait-2-ex-generic.c"
    135 #undef LOG_GROUP
    136 #include "generic/RTSemEventMultiWaitNoResume-2-ex-generic.c"
    137 #undef LOG_GROUP
    138 #include "generic/RTTimerCreate-generic.c"
    139 #undef LOG_GROUP
    140 #include "generic/errvars-generic.c"
    141 #undef LOG_GROUP
    142 #include "generic/mppresent-generic.c"
    143 #undef LOG_GROUP
    144 #include "generic/uuid-generic.c"
    145 #undef LOG_GROUP
    146 #include "VBox/log-vbox.c"
    14787
    148 #ifdef RT_ARCH_AMD64
    149 # undef LOG_GROUP
    150 # include "common/alloc/heapsimple.c"
    151 #endif
    152 
    153 #if 0 /*def RT_ARCH_X86 - iprt/nocrt/limit.h clashes.*/
    154 # include "common/math/gcc/divdi3.c"
    155 # include "common/math/gcc/moddi3.c"
    156 # include "common/math/gcc/udivdi3.c"
    157 # include "common/math/gcc/udivmoddi4.c"
    158 # include "common/math/gcc/umoddi3.c"
    159 # include "common/math/gcc/qdivrem.c"
    160 #endif
    161 
    162 
    163 
  • trunk/src/VBox/HostDrivers/Support/linux/combined-agnostic2.c

    r85519 r85523  
    2929#include <VBox/log.h>
    3030
    31 #undef LOG_GROUP
    32 #include "r0drv/alloc-r0drv.c"
    33 #undef LOG_GROUP
    34 #include "r0drv/initterm-r0drv.c"
    35 #undef LOG_GROUP
    36 #include "r0drv/memobj-r0drv.c"
    37 #undef LOG_GROUP
    38 #include "r0drv/mpnotification-r0drv.c"
    39 #undef LOG_GROUP
    40 #include "r0drv/powernotification-r0drv.c"
    41 #undef LOG_GROUP
    42 #include "r0drv/generic/semspinmutex-r0drv-generic.c"
    43 #undef LOG_GROUP
    44 #include "common/alloc/alloc.c"
    45 #undef LOG_GROUP
    46 #include "common/checksum/crc32.c"
    47 #undef LOG_GROUP
    48 #include "common/checksum/ipv4.c"
    49 #undef LOG_GROUP
    50 #include "common/checksum/ipv6.c"
    51 #undef LOG_GROUP
    52 #include "common/err/errinfo.c"
    53 #undef LOG_GROUP
    54 #include "common/log/log.c"
    55 #undef LOG_GROUP
    56 #include "common/log/logellipsis.c"
    57 #undef LOG_GROUP
    58 #include "common/log/logrel.c"
    59 #undef LOG_GROUP
    60 #include "common/log/logrelellipsis.c"
    61 #undef LOG_GROUP
    62 #include "common/log/logcom.c"
    63 #undef LOG_GROUP
    64 #include "common/log/logformat.c"
    65 #undef LOG_GROUP
    66 #include "common/misc/RTAssertMsg1Weak.c"
    67 #undef LOG_GROUP
    68 #include "common/misc/RTAssertMsg2.c"
    69 #undef LOG_GROUP
    70 #include "common/misc/RTAssertMsg2Add.c"
    71 #undef LOG_GROUP
    72 #include "common/misc/RTAssertMsg2AddWeak.c"
    73 #undef LOG_GROUP
    74 #include "common/misc/RTAssertMsg2AddWeakV.c"
    75 #undef LOG_GROUP
    76 #include "common/misc/RTAssertMsg2Weak.c"
    77 #undef LOG_GROUP
    78 #include "common/misc/RTAssertMsg2WeakV.c"
    79 #undef LOG_GROUP
    80 #include "common/misc/assert.c"
    81 #undef LOG_GROUP
    82 #include "common/misc/handletable.c"
    83 #undef LOG_GROUP
    84 #include "common/misc/handletablectx.c"
    85 #undef LOG_GROUP
    86 #include "common/misc/thread.c"
    8731#undef LOG_GROUP
    8832#include "common/string/RTStrCat.c"
     
    15195#endif
    15296
    153 #if 0 /*def RT_ARCH_X86 - iprt/nocrt/limit.h clashes.*/
    154 # include "common/math/gcc/divdi3.c"
    155 # include "common/math/gcc/moddi3.c"
    156 # include "common/math/gcc/udivdi3.c"
    157 # include "common/math/gcc/udivmoddi4.c"
    158 # include "common/math/gcc/umoddi3.c"
    159 # include "common/math/gcc/qdivrem.c"
    160 #endif
    161 
    162 
    163 
  • trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv

    r85519 r85523  
    8585    ${PATH_ROOT}/include/VBox/vmm/hm_svm.h=>include/VBox/vmm/hm_svm.h \
    8686    ${PATH_ROOT}/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c=>linux/SUPDrv-linux.c \
    87     ${PATH_ROOT}/src/VBox/HostDrivers/Support/linux/combined-agnostic.c=>combined-agnostic.c \
     87    ${PATH_ROOT}/src/VBox/HostDrivers/Support/linux/combined-agnostic1.c=>combined-agnostic1.c \
     88    ${PATH_ROOT}/src/VBox/HostDrivers/Support/linux/combined-agnostic2.c=>combined-agnostic2.c \
    8889    ${PATH_ROOT}/src/VBox/HostDrivers/Support/linux/combined-os-specific.c=>combined-os-specific.c \
    8990    ${PATH_ROOT}/src/VBox/HostDrivers/Support/SUPDrv.cpp=>SUPDrv.c \
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