|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH xenbus 03/11] Remove unnecessary wait when enabling interrupts
From: Paul Durrant <pdurrant@xxxxxxxxxx>
There is no need for DPCs to wait: Only the main thread needs to do so.
Signed-off-by: Paul Durrant <pdurrant@xxxxxxxxxx>
---
src/xenbus/sync.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/xenbus/sync.c b/src/xenbus/sync.c
index c2ef681501d1..e3b55d1d257b 100644
--- a/src/xenbus/sync.c
+++ b/src/xenbus/sync.c
@@ -226,12 +226,6 @@ SyncWorker(
KeLowerIrql(DISPATCH_LEVEL);
InterlockedIncrement(&Context->CompletionCount);
-
- while (Context->CompletionCount < Context->ProcessorCount) {
- _mm_pause();
- KeMemoryBarrier();
- }
-
}
}
--
2.17.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |