The system came up clean. She ran the stress test—the same 4K transcoding plus ML inference plus three games. The performance monitor showed GPU utilization at 98%. The DPC routine processed 32 completions at a time, rescheduled itself, and repeated.
The hex addresses swam before her eyes like luminous green fish in a dark sea. Another BSOD. Another midnight debugging session in the fluorescent tomb of Office 317—the room that smelled faintly of burnt coffee and broken ambition.
She compiled it. The build system—MSBuild, with a custom set of targets called "DriverBuild" —churned for three minutes. Then, success. A .sys file. A driver.
BOOLEAN ProcessCompletionQueue(PGRAPHICS_DEVICE_EXTENSION devExt) { ULONG processed = 0; ULONG maxPerBatch = 32; while (processed < maxPerBatch && !IsQueueEmpty(devExt)) { ProcessOneCompletion(devExt); processed++; }
It was risky. If she implemented it wrong, the DPC could run forever, hanging the system. But if it worked...
At hour 47, the HLK reported: "All tests passed. 3,152 tests run. 3,152 passed. 0 failed. 0 warnings."