Skip to content

Drivers: hv: hv_balloon: two additional corner cases in balloon_up()

K. Y. Srinivasan lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Drivers: hv: hv_balloon: correctly handle val.freeram<num_pages casedrivers/hv/hv_balloon.c+1 -10 replies
2/2Drivers: hv: hv_balloon: correctly handle num_pages>INT_MAX casedrivers/hv/hv_balloon.c+7 -60 replies

Reviews trailers per patch

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

PatchLaszlo Ersek
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] Drivers: hv: hv_balloon: two additional corner cases in balloon_up()

PATCH 1/2 addresses a real issue introduced by the 'Drivers: hv: hv_balloon:
refuse to balloon below the floor' fix,

PATCH 2/2 addresses a currently impossible issue (as Hyper-V host never asks to balloon more than INT_MAX pages) and is rather a cleanup. The patch is supposed to be applied on top of previously sent 'Drivers: hv: hv_balloon:
survive ballooning request with num_pages=0'.

Both issues were found by Laszlo Ersek during code review.

Vitaly Kuznetsov (2):
Drivers: hv: hv_balloon: correctly handle val.freeram<num_pages case
Drivers: hv: hv_balloon: correctly handle num_pages>INT_MAX case

 drivers/hv/hv_balloon.c |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
Signature · 1 line
1.7.4.1