VirtualBox

Changeset 54294 in vbox


Ignore:
Timestamp:
Feb 19, 2015 2:17:53 PM (10 years ago)
Author:
vboxsync
Message:

mp: update doc and todo for Solaris, better/lighter API possible it looks like for rescheduling the thread.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/mp.h

    r54293 r54294  
    351351 * Probably not being called on the onlined/offlined CPU...
    352352 *
    353  * On Solaris we're holding the cpu_lock, IPL/SPL/PIL is not yet known.  Looks
    354  * like we're being called on the CPU that's being onlined/offlined.
     353 * On Solaris we're holding the cpu_lock, IPL/SPL/PIL is not yet known, however
     354 * we will most likely -not- be firing on the CPU going offline/online.
    355355 *
    356356 * On Linux it looks like we're called on the CPU in question.  Interrupts may
  • trunk/src/VBox/Runtime/r0drv/solaris/mpnotification-r0drv-solaris.c

    r44529 r54294  
    132132    else
    133133    {
     134        /** @todo We should probably be using thread_affinity_set() here, see
     135         *        cpu_online() code. */
    134136        /*
    135137         * We're not on the target CPU, schedule (synchronous) the event notification callback
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