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

[win-pv-devel] [PATCH 1/3] Update rsp_event during Poll


  • To: <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Owen Smith <owen.smith@xxxxxxxxxx>
  • Date: Tue, 3 Sep 2019 15:43:16 +0100
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=owen.smith@xxxxxxxxxx; spf=Pass smtp.mailfrom=owen.smith@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Owen Smith <owen.smith@xxxxxxxxxx>
  • Delivery-date: Tue, 03 Sep 2019 14:43:52 +0000
  • Ironport-sdr: Gf5Y8oiBy8nejxRwCn79fSboPu3PxX1RI+cuvW7y86f5/kznJ3M/y1AusQ5bZvo05cwqcOfN78 7C6x8z5qbgAiySfmcMyHVyyvavcBAxC10FURwZ+8kw3qS+zaGyF5L5vLlj5yg3Sz+ASKWQCnj6 o+nwk0x/LkZ2BrzoA93MBgfpHkJCNXKvy5FMpJ5mIa25FAjOpnetPpELyskihriOtnZ5kElyA2 VtRmQ2f5QBXI0wAKoh15t+kMdXB5Y27jCg/+mPUNj9YjKKREGTv+ZF8GbpEvnfi0dr7Q0nASoQ p+w=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>
---
 src/xenvbd/ring.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/xenvbd/ring.c b/src/xenvbd/ring.c
index 0dfba7f..74426f1 100644
--- a/src/xenvbd/ring.c
+++ b/src/xenvbd/ring.c
@@ -1294,6 +1294,7 @@ BlkifRingPoll(
         KeMemoryBarrier();
 
         BlkifRing->Front.rsp_cons = rsp_cons;
+        BlkifRing->Shared->rsp_event = rsp_cons + 1;
     }
 
 done:
@@ -1327,8 +1328,6 @@ __BlkifRingPushRequests(
 #pragma warning (push)
 #pragma warning (disable:4244)
 
-    BlkifRing->Shared->rsp_event = BlkifRing->Front.req_prod_pvt;
-
     // Make the requests visible to the backend
     RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&BlkifRing->Front, Notify);
 
-- 
2.16.2.windows.1


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

 


Rackspace

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