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

Re: Use of newer locking primitives...


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Durrant <xadimgnik@xxxxxxxxx>
  • Date: Tue, 30 Aug 2022 12:47:21 +0100
  • Delivery-date: Tue, 30 Aug 2022 11:47:26 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

On 30/08/2022 12:35, Martin Harvey wrote:
Hello folks.

Has anyone taken it upon themselves to try using higher performance locking primitives, (i.e. Queued spinlocks) in our drivers? Anyone see any issues where we depend on the implementation of locking primitives, or could we just do a “drop in” (i.e. search and replace) replacement?


We have various wrappers around locks in a lot of places so a drop-in replacement might be doable. I did think about using in-stack queued spinlocks at one point but the extra argument makes that a pain. Still, probably worth doing if anyone has the time and motivation.

  Paul




 


Rackspace

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