VirtualBox

Changeset 12029 in vbox for trunk


Ignore:
Timestamp:
Sep 3, 2008 12:15:34 PM (16 years ago)
Author:
vboxsync
Message:

mpnotifications-r0drv-linux: added explanatory comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/mpnotification-r0drv-linux.c

    r12015 r12029  
    8282    NOREF(pNotifierBlock);
    8383
     84    /*
     85     * Note that redhat/CentOS ported _some_ of the FROZEN macros
     86     * back to their 2.6.18-92.1.10.el5 kernel but actually don't
     87     * use them. Thus we have to test for both CPU_TASKS_FROZEN and
     88     * the individual event variants.
     89     */
     90
    8491    /* ASSUMES iCpu == RTCPUID */
    8592    switch (ulNativeEvent)
    8693    {
     94        /*
     95         * Pick up online events or failures to go offline.
     96         * Ignore failure events for CPUs we didn't see go offline.
     97         */
    8798#ifdef CPU_DOWN_FAILED
    8899        case CPU_DOWN_FAILED:
    89         /* r=frank: redhat/CentOS ported _some_ of these constants back to their
    90          *          2.6.18-92.1.10.el5 kernel but actually don't use them. */
    91100# if defined(CPU_TASKS_FROZEN) && defined(CPU_DOWN_FAILED_FROZEN)
    92101        case CPU_DOWN_FAILED_FROZEN:
     
    106115            break;
    107116
     117        /*
     118         * Pick the earlies possible offline event.
     119         * The only important thing here is that we get the event and that
     120         * it's exactly one.
     121         */
    108122#ifdef CPU_DOWN_PREPARE
    109123        case CPU_DOWN_PREPARE:
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