Skip to content

Improvements to virtio_balloon pm

David Stevens lkml virtualization 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Add comment about virtio-balloon's wakeup source
- Rename virtio-balloon wakeup event macros

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio_balloon: Give the balloon its own wakeup sourcedrivers/virtio/virtio_balloon.c+11 -20 replies
2/2virtio_balloon: Treat stats requests as wakeup eventsdrivers/virtio/virtio_balloon.c+46 -290 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDavid Hildenbrand
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Improvements to virtio_balloon pm

From: David Stevens <[email protected]>

The virtio_balloon driver uses wakeup sources to allow the guest to enter system power management sleep states (e.g. s2idle) without running the risk of becoming unresponsive to cooperative memory management requests from the host. This series fixes an issue where wakeup sources for inflate/deflate were improperly shared between drivers. It also closes a race where stats requests that come in immediately before a sleep state transition could fail to be handled in a timely manner.

v1: https://lore.kernel.org/lkml/[email protected]/

v1 -> v2:
- Add comment about virtio-balloon's wakeup source
- Rename virtio-balloon wakeup event macros

David Stevens (2):
virtio_balloon: Give the balloon its own wakeup source
virtio_balloon: Treat stats requests as wakeup events

 drivers/virtio/virtio_balloon.c | 84 +++++++++++++++++++++------------
 1 file changed, 55 insertions(+), 29 deletions(-)

base-commit: e8f897f4afef0031fe618a8e94127a0934896aba

Signature · 1 line
2.44.0.291.gc1ea87d7ee-goog