VirtualBox

Changeset 24035 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Oct 23, 2009 1:07:16 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53885
Message:

Backed out dead, but incorrect code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp

    r23430 r24035  
    325325        int rc = supdrvIOCtlFast(ulCmd, (unsigned)(uintptr_t)pIrp->UserBuffer /* VMCPU id */, pDevExt, pSession);
    326326#else
    327 # if 1 /* experiment */
    328         /* Prevent Windows from rescheduling us to another CPU/core. */
    329         KeSetSystemAffinityThread((KAFFINITY)1 << KeGetCurrentProcessorNumber());
    330         int rc = supdrvIOCtlFast(ulCmd, (unsigned)(uintptr_t)pIrp->UserBuffer /* VMCPU id */, pDevExt, pSession);
    331         KeSetSystmeAffinityThread(KeQueryActiveProcessors());
    332 # else /* old code */
    333327        /* Raise the IRQL to DISPATCH_LEVEL to prevent Windows from rescheduling us to another CPU/core. */
    334328        Assert(KeGetCurrentIrql() <= DISPATCH_LEVEL);
     
    337331        int rc = supdrvIOCtlFast(ulCmd, (unsigned)(uintptr_t)pIrp->UserBuffer /* VMCPU id */, pDevExt, pSession);
    338332        KeLowerIrql(oldIrql);
    339 # endif
    340333#endif
    341334
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