]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Separate running the 'late' SYNC_CALLBACKs from exitting the DPC
authorPaul Durrant <pdurrant@amazon.com>
Thu, 5 May 2022 18:12:40 +0000 (19:12 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Fri, 6 May 2022 12:46:23 +0000 (13:46 +0100)
commitcad43e506e2c2f20dcf5e45e8a8420ca4dd23a3f
tree03c6c4bb13eae376665db1c1e298b5660dd5e29d
parenteb5a09aeb9e3617a297151c8eef8b868499013f1
Separate running the 'late' SYNC_CALLBACKs from exitting the DPC

This patch introduces a new dedicated request to ensure that *all* callbacks
have been completed before *any* CPU exits the DPC, thereby allowing threads
to be scheduled or other DPCs to run.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
src/xenbus/suspend.c
src/xenbus/sync.c
src/xenbus/sync.h