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

Re: [RFC PATCH 2/3] [XenBus] Asynchronous power handling.


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Durrant <xadimgnik@xxxxxxxxx>
  • Date: Tue, 13 Feb 2024 14:57:15 +0000
  • Delivery-date: Tue, 13 Feb 2024 14:57:31 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

On 10/01/2024 13:42, Owen Smith wrote:
From: Martin Harvey <Martin.Harvey@xxxxxxxxxx>

Replace a static, single thread for System and Device power transitions with
an IO_WORKITEM for each transition. IO_WORKITEMs are only used when a transition
requires calling codepaths that must be called at PASSIVE_LEVEL.
Move the bulk of power transitions to pending IRPs and IRP completion routines.

Signed-off-by: Martin Harvey <martin.harvey@xxxxxxxxxx>

Refactored to only apply to XenBus power

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxx>
---
  src/xenbus/fdo.c | 792 ++++++++++++++++++++++++++---------------------
  src/xenbus/pdo.c | 250 ++++++---------
  2 files changed, 534 insertions(+), 508 deletions(-)


Acked-by: Paul Durrant <paul@xxxxxxx>

... although I am going to clean up the plethora of out-of-style comments.




 


Rackspace

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