List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>
Thread-index: AdjdfgIYsgA4b4/cQtWn6fzH2WpcQg==
Thread-topic: Races in power IRP handling path.
Hi,
Been debugging power IRP handling. I notice that we not only pend power IRPs on the dispatch path, but also use completion routines to try to force a synchronous completion (Forward irp synchronously). You might want to consider that setting
a completion routine *outside* the dispatch handler on a pended IRP is likely to be a racey operation in and of itself.