Changeset 54409 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Feb 24, 2015 2:07:23 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
r54402 r54409 3764 3764 { 3765 3765 /* 3766 * Initialize data package for the RTMpOn Allcallback.3766 * Initialize data package for the RTMpOnPair callback. 3767 3767 */ 3768 3768 PSUPDRVGIPTSCDELTARGS pArgs = (PSUPDRVGIPTSCDELTARGS)RTMemAllocZ(sizeof(*pArgs)); … … 3790 3790 { 3791 3791 /* 3792 * Fire TSC-read workers on all CPUs but only synchronize between master3793 * and one worker to ease memory contention.3792 * Do the RTMpOnPair call. We reset i64TSCDelta first so we 3793 * and supdrvMeasureTscDeltaCallback can use it as a success check. 3794 3794 */ 3795 /** @todo Store the i64TSCDelta result in pArgs first? Perhaps deals with 3796 * that when doing the restart loop reorg. */ 3795 3797 ASMAtomicWriteS64(&pGipCpuWorker->i64TSCDelta, INT64_MAX); 3796 3797 /** @todo Add RTMpOnPair and replace this ineffecient broadcast IPI. */ 3798 rc = RTMpOnAll(supdrvMeasureTscDeltaCallback, pArgs, NULL); 3798 rc = RTMpOnPair(pGipCpuMaster->idCpu, pGipCpuWorker->idCpu, RTMPON_F_CONCURRENT_EXEC, 3799 supdrvMeasureTscDeltaCallback, pArgs, NULL); 3799 3800 if (RT_SUCCESS(rc)) 3800 3801 {
Note:
See TracChangeset
for help on using the changeset viewer.