[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] When unmask event ?


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Martin Cerveny <martin@xxxxxxxxx>
  • Date: Fri, 3 Feb 2017 11:46:48 +0100 (CET)
  • Delivery-date: Fri, 03 Feb 2017 10:47:08 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

Hello.

I noticed if the event is unmasked before processing requests it is triggered earlier (after 3-4 request inside FrontendNotifyResponses() processing). I think that it can improve response time after idle channel (crystalmark does not show any measurable change in my results).
Is it possible ?

Thanks for opinion, Martin Cerveny

diff --git a/src/xenvbd/notifier.c b/src/xenvbd/notifier.c
index 36e2ba1..1d0e296 100644
--- a/src/xenvbd/notifier.c
+++ b/src/xenvbd/notifier.c
@@ -125,12 +125,12 @@ NotifierDpc(
     if (!Notifier->Connected)
         return;

-    FrontendNotifyResponses(Notifier->Frontend);
-
     XENBUS_EVTCHN(Unmask,
                   Notifier->EvtchnInterface,
                   Notifier->Channel,
                   FALSE);
+
+    FrontendNotifyResponses(Notifier->Frontend);
 }

 NTSTATUS


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.