摘要 |
A method and system for balancing deferred procedure queues in multiprocessor computer systems provides a greater use of multiprocessing power for the handling of hardware requests in a device driver. By creating a number of DPC (deferred procedure call) objects and work lists greater than or equal to the number of processors, a device driver can queue work items to the work lists in a round-robin fashion and maintain a queued DPC object for each work list containing work items. This balances processor assignment to DPC execution, providing enough work lists and associated DPC objects to the device driver so that each processor may concurrently perform DPC tasks for the device, or so that the DPC tasks are balanced with other system or application tasks each processor is assigned.
|