VirtualBox

Ignore:
Timestamp:
Feb 5, 2022 7:03:08 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
149754
Message:

VMM/PDMQueue: Rewrote the queue code to not use the hyper heap and be a bit safer. Added a testcase (driverless). bugref:10093

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp

    r93115 r93609  
    131131     * Get the RC & R0 devhlps and create the devhlp R3 task queue.
    132132     */
    133     rc = PDMR3QueueCreateInternal(pVM, sizeof(PDMDEVHLPTASK), 8, 0, pdmR3DevHlpQueueConsumer, true, "DevHlp",
    134                                   &pVM->pdm.s.pDevHlpQueueR3);
     133    rc = PDMR3QueueCreateInternal(pVM, sizeof(PDMDEVHLPTASK), pVM->cCpus * 8, 0, pdmR3DevHlpQueueConsumer, true, "DevHlp",
     134                                  &pVM->pdm.s.hDevHlpQueue);
    135135    AssertRCReturn(rc, rc);
    136     pVM->pdm.s.pDevHlpQueueR0 = PDMQueueR0Ptr(pVM->pdm.s.pDevHlpQueueR3);
    137136
    138137    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette