I am trying to confirm the completion of CompleteRequest to the processor that originally issued the request. Is there a way to get the CPU that issued the request during the FdoDeviceControl or some other way to see where the request came from before it entered the send queue?
Once you are in the DPC program too late to indicate where the request came from. You must call KeGetCurrentProcessorNumberEx () before placing the queue in the request into the DPC queue. I assume the IRP request ...?