VirtualBox

Changeset 8013 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Apr 15, 2008 6:04:27 PM (17 years ago)
Author:
vboxsync
Message:

Use X_CALL_LOPRI since X_CALL_HIPRI seems to imply that we've taken care of disabling preemption.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/mp-r0drv-solaris.c

    r7913 r8013  
    154154
    155155    CPUSET_ALL(Set);
    156     xc_call((uintptr_t)&Args, 0, 0, X_CALL_HIPRI, Set, rtmpOnAllSolarisWrapper);
     156    xc_call((uintptr_t)&Args, 0, 0, X_CALL_LOPRI, Set, rtmpOnAllSolarisWrapper);
    157157
    158158    return VINF_SUCCESS;
     
    191191    Args.pvUser1 = pvUser1;
    192192    Args.pvUser2 = pvUser2;
    193     Args.idCpu = RTMpCpuId();
     193    Args.idCpu = RTMpCpuId(); /** @todo should disable pre-emption before doing this.... */
    194194    Args.cHits = 0;
    195195
    196196    CPUSET_ALL_BUT(Set, Args.idCpu);
    197     xc_call((uintptr_t)&Args, 0, 0, X_CALL_HIPRI, Set, rtmpOnOthersSolarisWrapper);
     197    xc_call((uintptr_t)&Args, 0, 0, X_CALL_LOPRI, Set, rtmpOnOthersSolarisWrapper);
    198198
    199199    return VINF_SUCCESS;
     
    243243    CPUSET_ADD(Set, idCpu);
    244244
    245     xc_call((uintptr_t)&Args, 0, 0, X_CALL_HIPRI, Set, rtmpOnSpecificSolarisWrapper);
     245    xc_call((uintptr_t)&Args, 0, 0, X_CALL_LOPRI, Set, rtmpOnSpecificSolarisWrapper);
    246246    Assert(ASMAtomicUoReadU32(&Args.cHits) <= 1);
    247247
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